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: bugzi...@selenic.com
          Reporter: timel...@gmail.com
                CC: mercurial-de...@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to