[PATCH 1 of 2] rebase: update branchcache before stripping (issue1951)

Stefano Tortarolo stefano.tortarolo at gmail.com
Fri Feb 12 10:44:37 CST 2010


2010/2/12 Benoit Boissinot <benoit.boissinot at ens-lyon.org>

> It seems wrong to have that in rebase.py, could you make it maybe more
> generic and put it in localrepo.py?
>
> Thanks!
>
> Benoit
>

Yes, but I'm not sure this could be useful.
I mean, are there other situations in which we need to readjust branchcache?
If so, when and which information are available? That function uses
rebase-specific's state
to remove old info and it's also useful only when keepbranches is not
specified.

I guess a different approach, more generic, should calculate everything from
scratch.
Let me know if I'm wrong.

Cheers,
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100212/0f875d54/attachment.htm>


More information about the Mercurial-devel mailing list