hg up branchname surprise

Georg-W. Koltermann gwk.rko at googlemail.com
Wed Dec 13 22:39:31 UTC 2006


Hi,

I just experimented with named branches, Hg 0.9.2.

I noticed that "hg up <branchname>" will silently update to the most
recent head of the given branch, even if the branch has multiple heads.

This surprised me.  I would expect a diagnostic if the branch has
multiple heads.

Is the behavior intended?

--
Regards,
Georg.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gwk.sh
Type: application/x-shellscript
Size: 449 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20061213/f70d330c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3441 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20061213/f70d330c/attachment-0003.bin>


More information about the Mercurial mailing list