« Return to Thread: Please help with Mercurial Bookmarks workflow

Re: Please help with Mercurial Bookmarks workflow

by amaslov :: Rate this Message:

Reply to Author | View in Thread

Arne,

  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...

Bugzilla from arne_bab@web.de wrote:
Am Freitag 10 April 2009 15:01:49 schrieb amaslov:
> Thanks for the clarifications, hg out -r <bookmark_name> works indeed.

The reason for the difference is simply that Mercurial assumes as default that
you want to get your repository data completely in sync, while git assumes
that you want to only synchronize some part and keep most of the changes to
yourself.

The same is true for commit:
- Mercurial commits all changes, as long as you don't specify files
  (or use the record extension).
- Git only commits explicitely added changes, as long as you don't use "-a".

It's a difference in philosophy.

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@selenic.com
http://selenic.com/mailman/listinfo/mercurial

 « Return to Thread: Please help with Mercurial Bookmarks workflow