[Bug 5347] New: rebase progress denominator is wrong

bugzilla at mercurial-scm.org bugzilla at mercurial-scm.org
Thu Aug 25 17:22:23 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5347

            Bug ID: 5347
           Summary: rebase progress denominator is wrong
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: rebase
          Assignee: bugzilla at selenic.com
          Reporter: timeless at gmail.com
                CC: mercurial-devel at selenic.com

I'm running:
$ hg rebase --debugger -r 14251:: -d .

according to log:
$ hg log -r 14251:: -T. |wc
      0       1     124
the denominator should be approximately 124.

>> rebase rebase.py:674
| 'dest': '.'
| 'tool': ''
| 'rev': list [pub]
| | 0: '14251::'
| 'keep': False

>> _performrebase [rebaseruntime] rebase.py:340
total = len(self.state)

total: 845

the right behavior happens if we use:
total = len({k:v for k,v in self.state.iteritems() if v!=-2})

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


More information about the Mercurial-devel mailing list