[PATCH] add test for convert extension
Edouard Gomez
ed.gomez at free.fr
Fri Jun 15 15:31:27 CDT 2007
On Thu, 14 Jun 2007 17:05:45 -0500, Hollis Blanchard wrote:
> diff -r 3daed3680554 hgext/convert/__init__.py
> --- a/hgext/convert/__init__.py Wed Jun 13 13:15:53 2007 -0500
> +++ b/hgext/convert/__init__.py Thu Jun 14 17:00:30 2007 -0500
> @@ -139,7 +139,9 @@ class convert(object):
> def convert(self):
> self.ui.status("scanning source...\n")
> heads = self.source.getheads()
> + print "heads:", heads
> parents = self.walktree(heads)
> + print "parents:", parents
> self.ui.status("sorting...\n")
> t = self.toposort(parents)
> num = len(t)
> diff -r 3daed3680554 hgext/convert/git.py
> --- a/hgext/convert/git.py Wed Jun 13 13:15:53 2007 -0500
> +++ b/hgext/convert/git.py Thu Jun 14 17:00:30 2007 -0500
> @@ -55,6 +55,7 @@ class convert_git(converter_source):
> return changes
>
> def getcommit(self, version):
> + print "getcommit", version
> c = self.catfile(version, "commit") # read the commit hash
> end = c.find("\n\n")
> message = c[end+2:]> message = c[end+2:]
I don't think you want these two patches to get merged.
--
Edouard Gomez
More information about the Mercurial-devel
mailing list