[Bug 5173] New: --limit does not work as expected with glog

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Apr 4 14:32:01 UTC 2016


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

            Bug ID: 5173
           Summary: --limit does not work as expected with glog
           Product: Mercurial
           Version: stable branch
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: 0ce69136 at opayq.com
                CC: mercurial-devel at selenic.com

hg glog -r.:: -l5 should include 5 entries, including the current one. hg log
does, but hg glog does not. Sample output:

hg --version
Mercurial Distributed SCM (version 3.7.3+2-2d39f987f0ba)

hg id
d9ff7cd580cc (532)

hg log -r.:: --limit 5
changeset:   532:d9ff7cd580cc
branch:      dev
parent:      531:f6b143cc69cd
parent:      528:ed90bba1b88b

changeset:   540:0260dc71cb8e
parent:      539:478677353817
parent:      532:d9ff7cd580cc

changeset:   541:42f95ecf1999

changeset:   542:daabae4d340b

changeset:   543:e397d068f9ed

hg glog -r.:: --limit 5
o  changeset:   631:27d25d3c1abf
|  parent:      629:62950ad871b8
|
| o  changeset:   630:e9e465449fe9
|/
|
o  changeset:   629:62950ad871b8
|
o  changeset:   628:f33f7aefcfe5
|
o  changeset:   627:875b7de71c26

where 631 is the tip.

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


More information about the Mercurial-devel mailing list