[PATCH] fix rewrite-log with recent API changes
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Tue Sep 9 01:59:30 CDT 2008
On Mon, Sep 08, 2008 at 08:29:06PM -0500, Matt Mackall wrote:
>
> On Tue, 2008-09-09 at 01:02 +0200, Benoit Boissinot wrote:
> > Since the datafile argument was removed from revlog(), rewrite-log is
> > broken (it was further broken by the API change from localrepo:
> > revlog.count() -> len(revlog)).
> >
> > The patch below fixes it.
>
> Using revlog.files() would be better?
It could help. But the problem really is how to generate a revlog
without collision with the files currently in the store.
Currently it's using .i2 and .d2, but now it doesn't work anymore. I
guess I'll have to go the tempfile way then.
regards,
Benoit
--
:wq
More information about the Mercurial-devel
mailing list