[Bug 3858] New: Exception on rebase

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Mar 16 12:28:35 CDT 2013


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

          Priority: normal
            Bug ID: 3858
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Exception on rebase
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: jan.rysavy at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.1
         Component: rebase
           Product: Mercurial

Created attachment 1717
  --> http://bz.selenic.com/attachment.cgi?id=1717&action=edit
State before rebase

I can reproduce following exception on our repository. It is simple repository
- no subrepos, no largefiles extension.  Trying to rebase rev 2490 to current
rev 2504 (see attached graph.png).

TortoiseHg version 2.7.1 with Mercurial-2.5.2, Python-2.7.3, PyQt-4.9.6,
Qt-4.8.4.

** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.5.2)
** Extensions loaded: rebase
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 28, in run
  File "mercurial\dispatch.pyo", line 65, in dispatch
  File "mercurial\dispatch.pyo", line 88, in _runcatch
  File "mercurial\dispatch.pyo", line 743, in _dispatch
  File "mercurial\dispatch.pyo", line 514, in runcommand
  File "mercurial\dispatch.pyo", line 833, in _runcommand
  File "mercurial\dispatch.pyo", line 804, in checkargs
  File "mercurial\dispatch.pyo", line 740, in <lambda>
  File "mercurial\util.pyo", line 475, in check
  File "hgext\rebase.pyo", line 327, in rebase
  File "hgext\rebase.pyo", line 732, in clearrebased
  File "mercurial\repair.pyo", line 183, in strip
  File "mercurial\localrepo.pyo", line 58, in wrapper
  File "mercurial\localrepo.pyo", line 1426, in destroyed
  File "mercurial\branchmap.pyo", line 75, in updatecache
  File "mercurial\localrepo.pyo", line 634, in branchmap
  File "mercurial\branchmap.pyo", line 80, in updatecache
  File "mercurial\branchmap.pyo", line 192, in update
  File "mercurial\ancestor.pyo", line 230, in __iter__
  File "mercurial\changelog.pyo", line 204, in parentrevs
IndexError: 2488

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


More information about the Mercurial-devel mailing list