Exception when cloning repo with subrepos

Create issue
Issue #300 resolved
Eugene Baranov created an issue

With hgsubversion enabled the following commands results in "TypeError: 'NoneType' object is not iterable" exception:

{{{ hg init SubrepoTest hg --cwd SubrepoTest clone https://hg01.codeplex.com/blogengine BlogEngine.NET echo BlogEngine.NET = BlogEngine.NET>>SubrepoTest.hgsub hg --cwd SubrepoTest clone https://hg01.codeplex.com/mvccontrib MvcContrib echo MvcContrib = MvcContrib>>SubrepoTest.hgsub hg --cwd SubrepoTest add .hgsub hg --cwd SubrepoTest ci -m "Initial commit" hg clone SubrepoTest SubrepoTest2 }}}

The output: {{{ updating to branch default cloning subrepo BlogEngine.NET from C:\Projects\SubrepoTest/BlogEngine.NET 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+10-e9264b45237d) Extensions loaded: churn, color, convert, extdiff, fold, mq, progress, rebase, record, transplant, bisect, svn, checkfiles 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 675, in _dispatch File "mercurial\dispatch.pyo", line 454, in runcommand File "mercurial\extensions.pyo", line 182, in wrap File "hgext\color.pyo", line 367, in colorcmd File "mercurial\dispatch.pyo", line 729, in _runcommand File "mercurial\dispatch.pyo", line 683, in checkargs File "mercurial\dispatch.pyo", line 672, 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:\Program Files\TortoiseHg\extensions\HgSubversion\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:\Program Files\TortoiseHg\extensions\HgSubversion\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 456, in get File "mercurial\subrepo.pyo", line 447, in _get TypeError: 'NoneType' object is not iterable }}}

Comments (5)

  1. Log in to comment