Hgsubversion OverflowError

Create issue
Issue #200 wontfix
Former user created an issue

I do the following command after installing hgsubversion:

{{{ hg clone -stupid -v http://localhost/svn committed to "default" as 5779a67e3c3f [r3] cc: BF and BW graphic projects unknown exception encountered, details follow report bug details to http://mercurial.selenic.com/bts/ or mercurial@selenic.com Python 2.5.4 (r254:67916, Dec 22 2009, 10:11:26) [GCC 3.3.6] Mercurial Distributed SCM (version 1.6) Extensions loaded: rebase, svn Traceback (most recent call last): File "/usr/local/bin/hg", line 27, in <module> mercurial.dispatch.run() File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 34, in dispatch return _runcatch(u, args) File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 54, in _runcatch return _dispatch(ui, args) File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 483, in _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 351, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 534, in _runcommand return checkargs() File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 488, in checkargs return cmdfunc() File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 481, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/usr/lib/python2.5/site-packages/mercurial/util.py", line 420, in check return func(*args, kwargs) File "/usr/lib/python2.5/site-packages/mercurial/extensions.py", line 116, in wrap util.checksignature(origfn), args, kwargs) File "/usr/lib/python2.5/site-packages/mercurial/util.py", line 420, in check return func(*args, kwargs) File "/root/temp/hgsubversion/hgsubversion/wrappers.py", line 406, in clone update=not opts.get('noupdate')) File "/usr/lib/python2.5/site-packages/mercurial/hg.py", line 334, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/usr/lib/python2.5/site-packages/mercurial/localrepo.py", line 1853, in clone return self.pull(remote, heads) File "/root/temp/hgsubversion/hgsubversion/svnrepo.py", line 48, in wrapper return fn(self, args, *opts) File "/root/temp/hgsubversion/hgsubversion/svnrepo.py", line 63, in pull return wrappers.pull(self, remote, heads, force) File "/root/temp/hgsubversion/hgsubversion/wrappers.py", line 292, in pull close = pullfunshave_replay File "/root/temp/hgsubversion/hgsubversion/stupid.py", line 595, in convert_rev ui, svn, meta, b, branches[b], r, parentctx) File "/root/temp/hgsubversion/hgsubversion/stupid.py", line 123, in diff_branchrev deleted=True, ignore_type=True) File "hgsubversion/svnwrap/svn_swig_wrapper.py", line 603, in get_unified_diff OverflowError: requested number of bytes is more than a Python string can hold }}}

Comments (2)

  1. Dan Villiom Podlaski Christiansen

    This is probably the same bug as issue 1514 in the Mercurial BTS[1] — the file is too large for Mercurial to handle. Even if we fixed our inability to handle this, it's likely that we'd die somewhere else. I've marked this as WONTFIX for now.

    [1] http://mercurial.selenic.com/bts/issue1514

  2. Log in to comment