[issue1227] qrefresh fails on chained renames

RonnyPfannschmidt mercurial-bugs at selenic.com
Thu Jul 17 02:10:36 CDT 2008


New submission from RonnyPfannschmidt <Ronny.Pfannschmidt at gmx.de>:

i use Mercurial Distributed SCM (version 2011bb8ada9a)

my basic actions where:

move some files; qrefresh; move those again; qrefresh again;

it got me

Traceback (most recent call last):
  File "/home/ronny/Projects/mercurial/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 364, in
_dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 417, in
_runcommand
    return checkargs()
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 373, in
checkargs
    return cmdfunc()
  File "/home/ronny/Projects/mercurial/mercurial/dispatch.py", line 356, in <lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/home/ronny/Projects/mercurial/hgext/mq.py", line 1768, in refresh
    ret = q.refresh(repo, pats, msg=message, **opts)
  File "/home/ronny/Projects/mercurial/hgext/mq.py", line 1173, in refresh
    force=1)
  File "/home/ronny/Projects/mercurial/hgext/mq.py", line 2260, in commit
    return super(mqrepo, self).commit(*args, **opts)
  File "/home/ronny/Projects/mercurial/mercurial/localrepo.py", line 793, in commit
    use_dirstate, update_dirstate)
  File "/home/ronny/Projects/mercurial/mercurial/localrepo.py", line 851, in
_commitctx
    new[f] = self.filecommit(fctx, m1, m2, linkrev, trp, changed)
  File "/home/ronny/Projects/mercurial/mercurial/localrepo.py", line 717, in
filecommit
    meta["copyrev"] = hex(manifest1[cp])
KeyError: 'pida/editors/vim/vimcom.py'

----------
files: pida-borked.tbz2
messages: 6521
nosy: RonnyPfannschmidt
priority: critical
status: unread
title: qrefresh fails on chained renames

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


More information about the Mercurial-devel mailing list