[PATCH 09 of 10] rebase: use other branch head as default destination instead of branch head (bc)

Mads Kiilerich mads at kiilerich.com
Mon Jan 13 08:03:44 CST 2014


Thanks for the comments. I will take a closer look. One quick comment:

On 01/13/2014 09:20 AM, Pierre-Yves David wrote:
>> Other confusion came from how closed branch heads often didn't count as other
>> branch head.
> I feel that reasonable. Excluding closed branch from common operation sound the
> way to go. I think hgview is even filtering them out by default.

I would argue for moving in the opposite direction.

The main or initial motivation for this series was this:

   $ hg pull --rebase    # gets a changeset closing the current branch
   nothing to rebase    # ignoring the closed branch head
   $ hg push
   abort: push creates new remote head ...
   $ hg rebase
   nothing to rebase

But just getting more helpful error messages would we a step forward.

/Mads


More information about the Mercurial-devel mailing list