[PATCH] Add script to rewrite manifest to workaround lack of parent deltas
dirkjan at ochtman.nl
Fri Aug 21 01:26:57 CDT 2009
On Fri, Aug 21, 2009 at 01:04, Benoit
Boissinot<benoit.boissinot at ens-lyon.org> wrote:
> The following is simpler:
> children[i] = 
> parents = [p for p in rl.parentrevs(i) if p != -1]
> for p in parents:
> assert p in children
> if len(parents) == 0:
p != nullrev seems clearer than != -1.
> I found it a bit cleaner to split after at least one arg.
> Is the non-nested except/try/finally possible with python 2.4 ?
No, it's in 2.5.
More information about the Mercurial-devel