[Bug 3549] New: mq.rename leaves things in an inconsistent state
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Wed Jul 18 19:35:54 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3549
Priority: normal
Bug ID: 3549
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: mq.rename leaves things in an inconsistent state
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: sphink at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: mq
Product: Mercurial
I am doing something foolish, I'm sure, but mq.rename ended up renaming the
file on disk but leaving the series and status files using the old name.
---
** Unknown exception encountered with possibly-broken third-party extension
qbackout
** which supports versions unknown of Mercurial.
** Please disable qbackout and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.2 (default, Oct 27 2011, 01:40:22) [GCC 4.6.1 20111003 (Red Hat
4.6.1-10)]
** Mercurial Distributed SCM (version 2.2.3+31-2e13c1bd34dc)
** Extensions loaded: hgk, progress, color, pager, mq, record, rebase, relink,
graphlog, convert, transplant, qbackout, mqext, crecord, hggit, qimportbz,
bzexport, trychooser
Traceback (most recent call last):
File "/home/sfink/src/hg/installroot/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 65, in dispatch
return _runcatch(req)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 88, in _runcatch
return _dispatch(req)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 739, in _dispatch
cmdpats, cmdoptions)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 513, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/extensions.py",
line 184, in wrap
return wrapper(origfn, *args, **kwargs)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/hgext/pager.py",
line 93, in pagecmd
return orig(ui, options, cmd, cmdfunc)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/extensions.py",
line 184, in wrap
return wrapper(origfn, *args, **kwargs)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/hgext/color.py",
line 364, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 829, in _runcommand
return checkargs()
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 800, in checkargs
return cmdfunc()
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 736, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/util.py",
line 475, in check
return func(*args, **kwargs)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/extensions.py",
line 139, in wrap
util.checksignature(origfn), *args, **kwargs)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/util.py",
line 475, in check
return func(*args, **kwargs)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/hgext/mq.py",
line 3509, in mqcommand
return orig(ui, repo, *args, **kwargs)
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/util.py",
line 475, in check
return func(*args, **kwargs)
File "/home/sfink/lib/hg/bzexport/bzexport.py", line 1155, in bzexport
newname = update_patch(ui, repo, rev, bug, opts['update'],
opts['interactive'])
File "/home/sfink/lib/hg/bzexport/bzexport.py", line 965, in update_patch
try:
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/hgext/mq.py",
line 2831, in rename
wlock.release()
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/lock.py",
line 132, in release
self.releasefn()
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/localrepo.py",
line 1023, in unlock
self.dirstate.write()
File
"/home/sfink/src/hg/installroot/lib64/python2.7/site-packages/mercurial/dirstate.py",
line 505, in write
finish(parsers.pack_dirstate(self._map, copymap, self._pl, now))
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list