[Bug 3607] New: allow specifying hg log limit

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Sep 4 06:13:46 CDT 2012


          Priority: normal
            Bug ID: 3607
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: allow specifying hg log limit
          Severity: feature
    Classification: Unclassified
                OS: Mac OS
          Reporter: chris.jerdonek at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

When I use `hg log`, I almost always find myself specifying a limit, for
example `hg log -l 5`.

It would be nice if Mercurial let one specify a default limit, for example by
recognizing something like the following in one's .hgrc file:

limit = 10

It doesn't seem like .hgrc currently supports configuring "log":


(If a limit were specified via .hgrc, there would also need to be a way to
switch back to using "no limit" on a per-command basis.)

If this isn't already possible, is there any reason this wouldn't work? 

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

More information about the Mercurial-devel mailing list