Issue #1 new

Crash with hg archive

mears
created an issue

Command: hg archive -S /disk01/data/davidsj2/sast_3_2_2

Result:

** Unknown exception encountered with possibly-broken third-party extension onsub
** which supports versions unknown of Mercurial.
** Please disable onsub and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.5 (default, Jun 14 2013, 12:48:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
** Mercurial Distributed SCM (version 2.6.2)
** Extensions loaded: hgk, purge, extdiff, mq, fetch, onsub, shelve, histedit, largefiles
Traceback (most recent call last):
  File "/opt/goes/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 69, in dispatch
    ret = _runcatch(req)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 97, in _runcatch
    return _dispatch(req)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 778, in _dispatch
    cmdpats, cmdoptions)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 549, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 869, in _runcommand
    return checkargs()
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 840, in checkargs
    return cmdfunc()
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/dispatch.py", line 775, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/extensions.py", line 143, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/opt/goes/lib64/python2.7/site-packages/hgext/mq.py", line 3528, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/commands.py", line 379, in archive
    matchfn, prefix, subrepos=opts.get('subrepos'))
  File "/opt/goes/lib64/python2.7/site-packages/mercurial/archival.py", line 307, in archive
    total += sub.archive(repo.ui, archiver, prefix, submatch)
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

Comments (0)

  1. Log in to comment