[PATCH] add test for convert extension
Edouard Gomez
ed.gomez at free.fr
Fri Jun 15 16:30:28 CDT 2007
On Thu, 14 Jun 2007 17:05:45 -0500, Hollis Blanchard wrote:
> However, this test currently fails. If you add another changeset to the
> Git repository (and corresponding additions to test-convert.out), it
> succeeds.
>
> I don't really follow the walking and sorting stuff going on in
> convert/__init__.py, so I figured I'd put this on the list to see if
> somebody else knows how to fix it and make the test pass.
Basically:
1 - the GIT backend doesn't find any parent to the first commit.
2 - walktree finds no parents
3 - w/o any parent toposort fails adding children to 's'
4 - the convert method has nothing returned from toposort
I tried two trivial patches but noe of them worked:
- add a '0'*40 parent to commits w/o parent as catfile can handle this
i thought it would be ok
- add a ''.
In both cases i had exceptions being catched.
--
Edouard Gomez
More information about the Mercurial-devel
mailing list