[PATCH] rebase: invalidate caches before stripping (issue1951)
Dirkjan Ochtman
dirkjan at ochtman.nl
Thu Feb 11 05:50:46 CST 2010
On Thu, Feb 11, 2010 at 11:51, Stefano Tortarolo
<stefano.tortarolo at gmail.com> wrote:
> Well, the problem is that strip uses an old branchcache and fails in finding
> the node.
> Hence, strip fails -> rebase fails.
> That's exactly what happens in issue1951.
Well, I think it'd be better to update the cache instead of removing
it. Removing it will mean the next thing that has to instantiate it
will be *very* slow, so it would be nice if we could prevent that.
Cheers,
Dirkjan
More information about the Mercurial-devel
mailing list