rebase: preserve working directory parent (BC)

Matt Mackall mpm at selenic.com
Mon Jan 20 18:32:06 UTC 2014


On Mon, 2014-01-20 at 17:58 +0100, Mathieu Courtois wrote:
> Hello,
> 
> I have just update my mercurial version 2.7.3 -> 2.8.2.
> I saw in the release notes that now rebase does not update the working
> directory.

It does update, IFF the working directory parent is involved in the
rebase. That behavior does indeed seem natural. Also, we couldn't change
it if we wanted to, because we end up stripping the original changesets.

What's changed is we don't update the working directory when you rebase
changesets that are unrelated to your working directory. That is both
much less natural and much less common.  Hopefully it's not behavior
you're relying on. Eventually, this sort of rebase may be done
completely in memory.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list