[issue756] named branches are not considered for counting of heads in "hg merge"

Dominique Quatravaux mercurial-bugs at selenic.com
Tue Oct 2 04:39:24 CDT 2007


New submission from Dominique Quatravaux <dominique at quatravaux.org>:

This is similar, but not identical, to Issue736.

As soon as I have a branch with a head on it, the plain "hg merge" command does
not work anymore after pulling from the master repository. The reason is obvious
(3 heads), but this is surprising to my hg-novice coworkers.

Also, a plain "hg merge" in a repo with 2 heads in different named branches
unexpectedly succeeds, and probably does not do what the user expected.

I think that "hg merge" should only count heads that are on the same named
branch as the current checkout.

----------
messages: 4058
nosy: DomQ
priority: feature
status: unread
title: named branches are not considered for counting of heads in "hg merge"

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue756>
____________________________________________________



More information about the Mercurial-devel mailing list