[Bug 3876] New: Trying to use hgsubversion to clone a svn project

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Apr 2 10:17:46 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3876

          Priority: normal
            Bug ID: 3876
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Trying to use hgsubversion to clone a svn project
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: vonengel at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: convert
           Product: Mercurial

[root at history hg]# hg clone https://XXX.XXX

[r1] None: New repository initialized by cvs2svn.
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4)
** Extensions loaded: convert, hgsubversion
Traceback (most recent call last):
  File "/usr/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 16, in
run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 30, in
dispatch
    return _runcatch(u, args)
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 46, in
_runcatch
    return _dispatch(ui, args)
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 449, in
_dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 319, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 500, in
_runcommand
    return checkargs()
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 454, in
checkargs
    return cmdfunc()
  File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 448, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/mercurial/extensions.py", line 116, in
wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/root/apps/hgsubversion/hgsubversion/wrappers.py", line 589, in clone
    orig(ui, source, dest, **opts)
  File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/mercurial/commands.py", line 649, in
clone
    update=opts.get('updaterev') or not opts.get('noupdate'))
  File "/usr/lib/python2.6/site-packages/mercurial/extensions.py", line 128, in
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/root/apps/hgsubversion/hgsubversion/wrappers.py", line 578, in
hgclonewrapper
    data['srcrepo'], data['dstrepo'] = orig(ui, *args, **opts)
  File "/usr/lib/python2.6/site-packages/mercurial/hg.py", line 292, in clone
    dest_repo.clone(src_repo, heads=revs, stream=stream)
  File "/usr/lib/python2.6/site-packages/mercurial/localrepo.py", line 2144, in
clone
    return self.pull(remote, heads)
  File "/root/apps/hgsubversion/hgsubversion/svnrepo.py", line 81, in wrapper
    return fn(self, *args, **opts)
  File "/root/apps/hgsubversion/hgsubversion/svnrepo.py", line 104, in pull
    return wrappers.pull(self, remote, heads, force)
  File "/root/apps/hgsubversion/hgsubversion/wrappers.py", line 443, in pull
    firstrun)
  File "/root/apps/hgsubversion/hgsubversion/replay.py", line 68, in
convert_rev
    meta.editor.current.close()
  File "/root/apps/hgsubversion/hgsubversion/svnmeta.py", line 124, in editor
    self._editor = editor.HgEditor(self)
  File "/root/apps/hgsubversion/hgsubversion/editor.py", line 177, in __init__
    self.current = RevisionData(meta.ui)
  File "/root/apps/hgsubversion/hgsubversion/editor.py", line 99, in __init__
    self.clear()
  File "/root/apps/hgsubversion/hgsubversion/editor.py", line 102, in clear
    self.store = FileStore(util.getfilestoresize(self.ui))
  File "/root/apps/hgsubversion/hgsubversion/util.py", line 345, in
getfilestoresize
    size = ui.configint('hgsubversion', 'filestoresize', 200)
AttributeError: 'ui' object has no attribute 'configint'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list