Pushing _only_ some branches
Arne Babenhauserheide
arne_bab at web.de
Thu Dec 18 02:44:24 CST 2008
Am Donnerstag 18 Dezember 2008 04:30:59 schrieb Nahuel Defossé:
> which is relatively large to be pushed (>20MB) and actually irrelevant for
> any developer but me. I'd like to have it tracked only in my local repo.
<snip>
> I've read the hg push help, but it doesn't accept a branch parameter. What
> do you suggest?
You could simply create a seperate clone for the testing data.
That way you can track it locally, but you never push anything from that
repository (and you aren't in danger of accidently pushing).
For a very simple workflow it might then look like this:
main/ - you code, pull and push in here.
tests/ - you only pull from main, and you never push.
Even if you should push from tests/ , you can still just use "hg rollback" in
main to undo the accidental push.
Best wishes,
Arne
--
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20081218/bce2d1aa/attachment.pgp
More information about the Mercurial
mailing list