push aborts for new branch even if no heads

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Nov 12 13:18:13 CST 2009


On Thu, Nov 12, 2009 at 20:04, Henrik Stuart <hg at hstuart.dk> wrote:
> When pushing, the existence of new remote heads is determined on a named
> branch basis, so you are, in effect, creating a new remote head for the
> branch t (even if it is merged into another branch it is still a branch
> head), thus you'll require --force.

Though if you --close-branch, then merge, it should still work, right?

(I still hold the position that we should change branch closing to
only be allowed in merges.)

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list