[Bug 5215] New: churn's progress bar uses total revs in repo instead of total in given revset

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Apr 20 14:35:43 EDT 2016


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

            Bug ID: 5215
           Summary: churn's progress bar uses total revs in repo instead
                    of total in given revset
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: jordigh at octave.org
                CC: mercurial-devel at selenic.com

It's rather useful to be able to specify a revset for doing churn on a subset
of history. For example, here we can see how many people have worked on the
master branch of gcc since 2015, excluding po files:

http://codepad.org/9baQ8iX6

The problem is that this line of hg churn is using total(repo) for the progress
extension instead of the actual number of revisions in the given revset/options
combination:

https://selenic.com/hg/file/tip/hgext/churn.py#l91

I couldn't figure this bug out in 30 minutes, so I'm just going to report it
for now.

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


More information about the Mercurial-devel mailing list