[issue1244] mq qcommit crashes with qrename

Marijn Vriens mercurial-bugs at selenic.com
Sat Jul 26 12:38:46 CDT 2008


New submission from Marijn Vriens <marijn at metronomo.cl>:

$ python --version
Python 2.5.2
$ hg init test 
$ cd test/
$ hg qinit -c
$ hg qnew some.patch
$ hg qrename some.patch some-new.patch 
$ hg qcommit -m"Renamed patch"
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 "/home/marijn/bin/hg", line 5, in <module>
    pkg_resources.run_script('mercurial==1.0.1', 'hg')
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 448, in run_script
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 1166, in run_script
  File "/home/marijn/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-x86
  ...
  ...
  File
"/home/marijn/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-x86_64.egg/mercurial/localrepo.py",
line 832, in commit
    new[f] = self.filecommit(f, m1, m2, linkrev, trp, changed)
  File
"/home/marijn/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-x86_64.egg/mercurial/localrepo.py",
line 712, in filecommit
    meta["copyrev"] = hex(manifest1[cp])
KeyError: 'some.patch'
$

----------
messages: 6615
nosy: marijn
priority: bug
status: unread
title: mq qcommit crashes with qrename
topic: mq

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



More information about the Mercurial-devel mailing list