Issue1244

Title mq qcommit crashes with qrename
Priority bug Status resolved
Superseder KeyError for copy in commit
View: 1175
Nosy List brendan, marijn, mpm
Assigned To Topics mq

Created on 2008-07-26.17:38:46 by marijn, last changed 2008-10-19.01:27:02 by brendan.

Messages
msg7556 (view) Author: brendan Date: 2008-10-19.01:27:02
Resolved as in issue1175
msg6616 (view) Author: mpm Date: 2008-07-26.18:00:42
Duplicate of issue1175
msg6615 (view) Author: marijn Date: 2008-07-26.17:38:45
$ 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@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'
$
History
Date User Action Args
2008-10-19 01:27:02brendansetstatus: chatting -> resolved
nosy: + brendan
messages: + msg7556
2008-07-26 18:00:43mpmsetstatus: unread -> chatting
superseder: + KeyError for copy in commit
messages: + msg6616
nosy: + mpm
2008-07-26 17:38:46marijncreate