[issue2955] Exception during clone with subrepos

Ilya Ryzhenkov bugs at mercurial.selenic.com
Sat Aug 13 14:21:39 CDT 2011


New submission from Ilya Ryzhenkov <orangy at jetbrains.com>:

I created empty repo, and imported two repos from svn using convert. Then I 
added imported repos as subrepos to the empty one. Committed and pushed. 
Then I tried to clone the repo with 2 subrepos and got error. Now I cannot 
migrate to Hg from SVN... :(

** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit 
(AMD64)]
** Mercurial Distributed SCM (version 1.9.1)
** Extensions loaded: hgsubversion, convert
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 27, in run
  File "mercurial\dispatch.pyo", line 64, in dispatch
  File "mercurial\dispatch.pyo", line 87, in _runcatch
  File "mercurial\dispatch.pyo", line 679, in _dispatch
  File "mercurial\dispatch.pyo", line 454, in runcommand
  File "mercurial\dispatch.pyo", line 733, in _runcommand
  File "mercurial\dispatch.pyo", line 687, in checkargs
  File "mercurial\dispatch.pyo", line 676, in <lambda>
  File "mercurial\util.pyo", line 385, in check
  File "mercurial\extensions.pyo", line 137, in wrap
  File "mercurial\util.pyo", line 385, in check
  File "c:/tools/hgsvn\hgsubversion\wrappers.py", line 486, in clone
    orig(ui, source, dest, **opts)
  File "mercurial\util.pyo", line 385, in check
  File "mercurial\commands.pyo", line 1041, in clone
  File "mercurial\extensions.pyo", line 182, in wrap
  File "c:/tools/hgsvn\hgsubversion\wrappers.py", line 477, in 
hgclonewrapper
    data['srcrepo'], data['dstrepo'] = orig(ui, *args, **opts)
  File "mercurial\hg.pyo", line 366, in clone
  File "mercurial\hg.pyo", line 395, in update
  File "mercurial\merge.pyo", line 554, in update
  File "mercurial\merge.pyo", line 355, in applyupdates
  File "mercurial\subrepo.pyo", line 156, in submerge
  File "mercurial\subrepo.pyo", line 460, in get
  File "mercurial\subrepo.pyo", line 451, in _get
TypeError: 'NoneType' object is not iterable

----------
messages: 17130
nosy: orangy
priority: urgent
status: unread
title: Exception during clone with subrepos

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


More information about the Mercurial-devel mailing list