[issue1237] hg crashes when commiting

Philippe Biondi mercurial-bugs at selenic.com
Wed Jul 23 11:48:00 CDT 2008


New submission from Philippe Biondi <phil at secdev.org>:

"import_stuff" (last line) is the name of a patch. hg verify on .hg/patches says
nothing. (and hg commit on .hg/patches crashes in the same way, obiously)

$ hg qcommit
transaction abort!
rollback completed
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0.1)
Traceback (most recent call last):
  File "/usr/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 29, in
dispatch
    return _runcatch(u, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 45, in
_runcatch
    return _dispatch(ui, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 364, in
_dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 417, in
_runcommand
    return checkargs()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 373, in
checkargs
    return cmdfunc()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 356, in
<lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/var/lib/python-support/python2.5/hgext/mq.py", line 1651, in commit
    commands.commit(r.ui, r, *pats, **opts)
  File "/var/lib/python-support/python2.5/mercurial/commands.py", line 557, in
commit
    node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
  File "/var/lib/python-support/python2.5/mercurial/cmdutil.py", line 1179, in
commit
    return commitfunc(ui, repo, files, message, match, opts)
  File "/var/lib/python-support/python2.5/mercurial/commands.py", line 555, in
commitfunc
    force_editor=opts.get('force_editor'))
  File "/var/lib/python-support/python2.5/hgext/mq.py", line 2189, in commit
    return super(mqrepo, self).commit(*args, **opts)
  File "/var/lib/python-support/python2.5/mercurial/localrepo.py", line 832, in
commit
    new[f] = self.filecommit(f, m1, m2, linkrev, trp, changed)
  File "/var/lib/python-support/python2.5/mercurial/localrepo.py", line 712, in
filecommit
    meta["copyrev"] = hex(manifest1[cp])
KeyError: 'import_stuff'

----------
messages: 6556
nosy: phil
priority: urgent
status: unread
title: hg crashes when commiting

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



More information about the Mercurial-devel mailing list