hg rebase killed branch name?

anatoly techtonik techtonik at gmail.com
Sat Jan 17 03:29:41 CST 2015


On Sun, Jan 11, 2015 at 10:51 PM, Augie Fackler <raf at durin42.com> wrote:
> On Jan 11, 2015, at 7:04 AM, anatoly techtonik <techtonik at gmail.com> wrote:
>>
>> I rebased changes in my named branch and now see that changesets don't
>> belong to that branch anymore. I though that rebase is for moving
>> branches relative to the tree, not to move changesets to a different
>> branch.
>>
>> Is it a bug? If yes, then why --keepbranches is here?
>
> As you’ve surmised, what you’ve experienced is the expected behavior, and what you wanted is what you’d get with --keepbranches.

But why it is expected? Why implicitly killing branch name is expected
behavior while rebasing?

-- 
anatoly t.


More information about the Mercurial-devel mailing list