[issue3015] Mercurial crashes when I clone a repo which has many subreops.

Woojong Koh bugs at mercurial.selenic.com
Sat Sep 17 06:17:23 CDT 2011


New submission from Woojong Koh <wjngkoh at gmail.com>:

Mercurial crashes when I clone a repo which has many subreops.

** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3]
** Mercurial Distributed SCM (version 1.9.2)
** Extensions loaded: convert, hgsubversion
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
27, in run
    sys.exit(dispatch(request(sys.argv[1:])))
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
64, in dispatch
    return _runcatch(req)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
87, in _runcatch
    return _dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
688, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
463, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
742, in _runcommand
    return checkargs()
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
696, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line
685, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 385,
in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/extensions.py",
line 137, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 385,
in check
    return func(*args, **kwargs)
  File "/home/jstrane/hgsubversion/hgsubversion/wrappers.py", line 486, in clone
    orig(ui, source, dest, **opts)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 385,
in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/commands.py", line
1041, in clone
    branch=opts.get('branch'))
  File "/usr/local/lib/python2.6/dist-packages/mercurial/extensions.py",
line 182, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/jstrane/hgsubversion/hgsubversion/wrappers.py", line 477, in
hgclonewrapper
    data['srcrepo'], data['dstrepo'] = orig(ui, *args, **opts)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/hg.py", line 366,
in clone
    _update(destrepo, uprev)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/hg.py", line 395,
in update
    stats = mergemod.update(repo, node, False, False, None)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/merge.py", line
554, in update
    stats = applyupdates(repo, action, wc, p2, pa, overwrite)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/merge.py", line
355, in applyupdates
    subrepo.submerge(repo, wctx, mctx, wctx, overwrite)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/subrepo.py", line
156, in submerge
    mctx.sub(s).get(r)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/subrepo.py", line
460, in get
    self._get(state)
  File "/usr/local/lib/python2.6/dist-packages/mercurial/subrepo.py", line
451, in _get
    self._repo.root, update=False)
TypeError: 'NoneType' object is not iterable

----------
messages: 17485
nosy: wjkoh
priority: bug
status: unread
title: Mercurial crashes when I clone a repo which has many subreops.

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


More information about the Mercurial-devel mailing list