IOError While Cloning SVN Repo

Create issue
Issue #125 wontfix
Former user created an issue

Empty IOError message raised on cloning a big SVN repo with multiple svn:externals (absolute ones, but not sure if all of them are absolute). It may make sense to improve the message before doing further investigations. {{{ Traceback (most recent call last): File "/home/weber/virtual-python/hg/bin/hg", line 5, in <module> pkg_resources.run_script('mercurial==1.3.1', 'hg') File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 448, in run_script self.require(requires)[0].run_script(script_name, ns) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 1166, in run_script execfile(script_filename, namespace, namespace) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/EGG-INFO/scripts/hg", line 27, in <module> mercurial.dispatch.run() File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 27, in dispatch return _runcatch(u, args) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 43, in _runcatch return _dispatch(ui, args) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 449, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 317, in runcommand ret = _runcommand(ui, options, cmd, d) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 501, in _runcommand return checkargs() File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 454, in checkargs return cmdfunc() File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/dispatch.py", line 448, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/util.py", line 402, in check return func(*args, kwargs) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/extensions.py", line 103, in wrap util.checksignature(origfn), args, kwargs) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/util.py", line 402, in check return func(*args, kwargs) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/wrappers.py", line 385, in clone update=not opts.get('noupdate')) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/hg.py", line 286, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/mercurial-1.3.1-py2.5-linux-x86_64.egg/mercurial/localrepo.py", line 2177, in clone return self.pull(remote, heads) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/svnrepo.py", line 43, in wrapper return fn(self, args, *opts) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/svnrepo.py", line 57, in pull return wrappers.pull(self, remote, heads, force) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/wrappers.py", line 274, in pull close = pullfunshave_replay File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/replay.py", line 29, in convert_rev current.findmissing(svn) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/editor.py", line 110, in findmissing data, mode = svn.get_file(p[len(root):], r) File "/home/weber/virtual-python/hg/lib/python2.5/site-packages/hgsubversion-bleeding-edge/hgsubversion/svnwrap/svn_swig_wrapper.py", line 574, in get_file raise IOError() IOError }}}

Remark: - mercurial 1.3.1 has a bug that hides this exception - I posted a patch: http://mercurial.selenic.com/bts/msg10873

Comments (2)

  1. Augie Fackler repo owner

    This bug has insufficient information for me to do anything useful here.

    If you can point to an open-source repository that I can clone directly, feel free to reopen this bug with a link and explanation.

  2. Log in to comment