Graft hanging when there's rename in source_rev

Long Vu long.vu at intelerad.com
Tue Mar 12 15:30:56 CDT 2013


On Fri, Mar 8, 2013 at 2:40 PM, oliver x <mpm at selenic.com> wrote:
> Sounds like a bug I fixed a week ago for Mozilla. Please try 2.5.2. If that
> doesn't work, run with -- debug and -- debugger, hit Ctrl-c when it hangs,
> and send a traceback.

You mean -- traceback, not -- debugger rigth?

Here's the traceback when Ctrl-C when it hangs (hg graft --continue
--verbose --debug --traceback), for version 2.5.2+2-605c7c94fd70:

^Ctransaction abort!
rollback completed
Traceback (most recent call last):
  File "/home/lvu/src/mercurial-intelerad/mercurial/dispatch.py", line
88, in _runcatch
    return _dispatch(req)
  File "/home/lvu/src/mercurial-intelerad/mercurial/dispatch.py", line
743, in _dispatch
    cmdpats, cmdoptions)
  File "/home/lvu/src/mercurial-intelerad/mercurial/dispatch.py", line
514, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/lvu/src/mercurial-intelerad/mercurial/dispatch.py", line
833, in _runcommand
    return checkargs()
  File "/home/lvu/src/mercurial-intelerad/mercurial/dispatch.py", line
804, in checkargs
    return cmdfunc()
  File "/home/lvu/src/mercurial-intelerad/mercurial/dispatch.py", line
740, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/lvu/src/mercurial-intelerad/mercurial/util.py", line 475, in check
    return func(*args, **kwargs)
  File "/home/lvu/src/mercurial-intelerad/mercurial/commands.py", line
2951, in graft
    date=date, extra=extra, editor=editor)
  File "/home/lvu/src/mercurial-intelerad/mercurial/localrepo.py",
line 58, in wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File "/home/lvu/src/mercurial-intelerad/mercurial/localrepo.py",
line 1276, in commit
    ret = self.commitctx(cctx, True)
  File "/home/lvu/src/mercurial-intelerad/mercurial/localrepo.py",
line 58, in wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File "/home/lvu/src/mercurial-intelerad/mercurial/localrepo.py",
line 1328, in commitctx
    changed)
  File "/home/lvu/src/mercurial-intelerad/mercurial/localrepo.py",
line 1096, in _filecommit
    if cfname in ancestor:
  File "/home/lvu/src/mercurial-intelerad/mercurial/context.py", line
168, in __contains__
    return key in self._manifest
  File "/home/lvu/src/mercurial-intelerad/mercurial/util.py", line
246, in __get__
    result = self.func(obj)
  File "/home/lvu/src/mercurial-intelerad/mercurial/context.py", line
150, in _manifest
    return self._repo.manifest.read(self._changeset[0])
  File "/home/lvu/src/mercurial-intelerad/mercurial/manifest.py", line
56, in read
    text = self.revision(node)
  File "/home/lvu/src/mercurial-intelerad/mercurial/revlog.py", line
928, in revision
    bins = [self._chunk(r) for r in chain]
  File "/home/lvu/src/mercurial-intelerad/mercurial/revlog.py", line
846, in _chunk
    return decompress(self._chunkraw(rev, rev))
  File "/home/lvu/src/mercurial-intelerad/mercurial/revlog.py", line
87, in decompress
    return _decompress(bin)
KeyboardInterrupt



--
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.



More information about the Mercurial-devel mailing list