Superfluous(?) "push -f" warning

Jesse Glick jesse.glick at sun.com
Tue Mar 25 23:16:59 CDT 2008


Kai Grossjohann wrote:
> after they do "hg merge -r default" the default branch loses its head
> and this means that I can't push changes on the default branch 
> without using "-f".
> 
> But I think if a named branch is headless, then it is not wrong for 
> pushing to add a head to this branch.

I would agree - the warning ought to be printed only if you are adding a 
new head to a branch which already has a head.



More information about the Mercurial mailing list