[issue1757] unknown exception during transplant

Zed Pobre mercurial-bugs at selenic.com
Thu Jul 23 09:12:19 CDT 2009


New submission from Zed Pobre <zed at resonant.org>:

The transplant would have created a new file with one line.  Traceback follows.

> hg transplant -s.. 16
searching for changes
warning: repository is unrelated
applying b44a95927a0f
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.3)
** Extensions loaded: bookmarks, children, churn, color, convert, extdiff,
fetch, gpg, graphlog, hgk, inotify, mq, purge, rebase, record, transplant,
hct, qct
Traceback (most recent call last):
  File "/usr/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 27, in
dispatch
    return _runcatch(u, args)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 43, in
_runcatch
    return _dispatch(ui, args)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 449, in
_dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 317, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 501, in
_runcommand
    return checkargs()
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 454, in
checkargs
    return cmdfunc()
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 448, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/pymodules/python2.5/mercurial/util.py", line 370, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.5/hgext/transplant.py", line 585, in
transplant
    tp.apply(repo, source, revmap, merges, opts)
  File "/usr/lib/pymodules/python2.5/hgext/transplant.py", line 170, in apply
    self.transplants.write()
  File "/usr/lib/pymodules/python2.5/hgext/transplant.py", line 51, in write
    l, r = map(revlog.hex, (c.lnode, c.rnode))
TypeError: b2a_hex() argument 1 must be string or read-only buffer, not None
Exception exceptions.TypeError: "'NoneType' object is not iterable" in
<bound method lock.__del__ of <mercurial.lock.lock object at 0xb79d0aec>>
ignored
Exception exceptions.TypeError: "'NoneType' object is not iterable" in
<bound method lock.__del__ of <mercurial.lock.lock object at 0xb79d084c>>
ignored

----------
messages: 10173
nosy: zed
priority: bug
status: unread
title: unknown exception during transplant
topic: transplant

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1757>
____________________________________________________



More information about the Mercurial-devel mailing list