[issue934] hg convert: TypeError: argument of type 'NoneType' is not iterable

Guido mercurial-bugs at selenic.com
Fri Jan 18 23:50:43 CST 2008


New submission from Guido <gzockoll at gmail.com>:

During "hg convert" on a svn repository i got an exception.

extension 'hgext/hbisect' overrides commands: bisect
Mercurial Distributed SCM (version 2c565b9598b8)

Copyright (C) 2005-2007 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 2c565b9598b8)
Traceback (most recent call last):
  File "/home/guido/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/home/guido/lib/python/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/home/guido/lib/python/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/home/guido/lib/python/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/home/guido/lib/python/mercurial/dispatch.py", line 360, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/home/guido/lib/python/mercurial/dispatch.py", line 413, in _runcommand
    return checkargs()
  File "/home/guido/lib/python/mercurial/dispatch.py", line 369, in checkargs
    return cmdfunc()
  File "/home/guido/lib/python/mercurial/dispatch.py", line 354, in <lambda>
    d = lambda: func(ui, *args, **cmdoptions)
  File "/home/guido/lib/python/hgext/convert/__init__.py", line 87, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/home/guido/lib/python/hgext/convert/convcmd.py", line 316, in convert
    c.convert()
  File "/home/guido/lib/python/hgext/convert/convcmd.py", line 249, in convert
    if "\n" in desc:
TypeError: argument of type 'NoneType' is not iterable

----------
messages: 4911
nosy: MehrCurry
priority: bug
status: unread
title: hg convert: TypeError: argument of type 'NoneType' is not iterable

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue934>
____________________________________________________



More information about the Mercurial-devel mailing list