fastimport on hg 1.3 error

Adrian Buehlmann adrian at cadifra.com
Thu Jul 9 11:04:36 CDT 2009


On 09.07.2009 17:48, Philippe De Muyter wrote:
> Hi Greg,
> 
> after upgrading hg to 1.3.1, here is what I get from
typo:                       ^

Current release is 1.3 (not 1.3.1)

Currently, there is no 1.3.1 tag in Mercurial main repo:
http://selenic.com/repo/hg/file/tip/.hgtags

> 	hg fastimport /tmp/gitrepo.fastexport
> 
> ** unknown exception encountered, details follow
> ** report bug details to http://mercurial.selenic.com/bts/
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.3)
> ** Extensions loaded: fastimport, convert
> Traceback (most recent call last):
>   File "/usr/bin/hg", line 27, in <module>
>     mercurial.dispatch.run()
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 16, in run
>     sys.exit(dispatch(sys.argv[1:]))
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 27, in dispatch
>     return _runcatch(u, args)
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 43, in _runcatch
>     return _dispatch(ui, args)
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 449, in _dispatch
>     return runcommand(lui, repo, cmd, fullargs, ui, options, d)
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 317, in runcommand
>     ret = _runcommand(ui, options, cmd, d)
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 501, in _runcommand
>     return checkargs()
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 454, in checkargs
>     return cmdfunc()
>   File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 448, in <lambda>
>     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>   File "/usr/lib/python2.5/site-packages/mercurial/util.py", line 370, in check
>     return func(*args, **kwargs)
>   File "/archives/programs/external/hg/hg-fastimport/hgfastimport/__init__.py", line 39, in fastimport
>     c.convert()
> TypeError: convert() takes exactly 2 arguments (1 given)
> 
> Philippe


More information about the Mercurial mailing list