« Return to Thread: Please help with Mercurial Bookmarks workflow

Re: Please help with Mercurial Bookmarks workflow

by Bugzilla from arne_bab@web.de :: Rate this Message:

Reply to Author | View in Thread

Am Mittwoch 15 April 2009 11:05:15 schrieb amaslov:
>   Thanks for the explanation, though I still do not get the idea... What's
> the point in having local branches and syncing them with other repositories
> by default? I have created them to be local, haven't I? Mercurial has named
> branches which are shared...

The branch-names of local branches are local. These names don't propagate when
you push. They are simply local pointers to certain revisions.

The actual changesets they point to are part of the normal history, though, so
they get propagated, but without the branch names.

The reason is, that you can use local branches/bookmarks as a reminder for
yourself, where you currently are, without cluttering history with stuff which
is only useful (and/or understandable) to you.


If you want the equivalent of local patches in your main repository, please
have a look at the attic extension or at the more powerful but also a bit more
dangerous Mercurial Queue extension (dangerous means that you can rewrite
history with it).

If you want to collapse the local changes before propagating them, or if you
want to work together with others on a patch, you can also use a second clone
with the pbranch extension.

Otherwise you can just work in feature clones and push into your main repo
once you finished working.

- http://www.selenic.com/mercurial/wiki/index.cgi/AtticExtension
- http://www.selenic.com/mercurial/wiki/index.cgi/MqExtension
- http://www.selenic.com/mercurial/wiki/index.cgi/PatchBranchExtension

For other useful extensions, please have a look at UsingExtensions:

- http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions

Best wishes,
Arne
--
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt

_______________________________________________
Mercurial mailing list
Mercurial@...
http://selenic.com/mailman/listinfo/mercurial

 « Return to Thread: Please help with Mercurial Bookmarks workflow