[Bug 3864] New: "strip" raises IndexError exception

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Mar 21 12:06:38 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3864

          Priority: normal
            Bug ID: 3864
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: "strip" raises IndexError exception
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: remi.cardona at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.1
         Component: Mercurial
           Product: Mercurial

$ hg strip 5df5f9466943
saved backup bundle to
/home/rcardona/Projects/cubicweb/.hg/strip-backup/5df5f9466943-backup.hg
** Unknown exception encountered with possibly-broken third-party extension
crecord                                          
** which supports versions unknown of Mercurial.
** Please disable crecord and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5]
** Mercurial version 2.5.1+3-227479f61db9, système de gestion de sources
distribué
** Extensions chargées : churn, color, convert, crecord, evolve, graphlog,
hgview, histedit, mq, pager, patchbomb, progress, purge, rebase, record,
schemes, transplant, guestrepo, confman
Traceback (most recent call last):
  File "/home/rcardona/Projects/hg/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 65, in dispatch
    return _runcatch(req)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 88, in
_runcatch
    return _dispatch(req)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 743, in
_dispatch
    cmdpats, cmdoptions)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 514, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 189, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/rcardona/Projects/hg/hgext/pager.py", line 130, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 189, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/rcardona/Projects/hg/hgext/color.py", line 394, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 833, in
_runcommand
    return checkargs()
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 804, in
checkargs
    return cmdfunc()
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 740, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/rcardona/Projects/hg/mercurial/util.py", line 475, in check
    return func(*args, **kwargs)
  File "/home/rcardona/Projects/hg/hgext/mq.py", line 3052, in strip
    force=opts.get('force'))
  File "/home/rcardona/Projects/hg/hgext/mq.py", line 1123, in strip
    repair.strip(self.ui, repo, revs, backup)
  File "/home/rcardona/Projects/hg/mercurial/repair.py", line 183, in strip
    repo.destroyed()
  File "/home/rcardona/Projects/hg/mercurial/localrepo.py", line 58, in wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/localrepo.py", line 1422, in
destroyed
    branchmap.updatecache(self.filtered('served'))
  File "/home/rcardona/Projects/hg/mercurial/branchmap.py", line 75, in
updatecache
    partial = subset.branchmap().copy()
  File "/home/rcardona/Projects/hg/mercurial/localrepo.py", line 634, in
branchmap
    branchmap.updatecache(self)
  File "/home/rcardona/Projects/hg/mercurial/branchmap.py", line 80, in
updatecache
    partial.update(repo, revs)
  File "/home/rcardona/Projects/hg/mercurial/branchmap.py", line 192, in update
    bheadrevs[0]))
  File "/home/rcardona/Projects/hg/mercurial/ancestor.py", line 230, in
__iter__
    for parent in parentrevs(visit.popleft()):
  File "/home/rcardona/Projects/hg/mercurial/changelog.py", line 204, in
parentrevs
    raise IndexError(rev)
IndexError: 8968

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list