[PATCH] Allow view limit to be specified in hgrc

Alexis S. L. Carvalho alexis at cecm.usp.br
Thu Nov 23 00:36:30 UTC 2006


Thus spake Steve Borho:
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1164238866 21600
> # Node ID ff10826b5f8f0e0d84404734df83a2ca2d20492c
> # Parent  e674cae8efeeeed57a91026f015036889265081e
> Allow limit to be specified in .hgrc
> 
> If the user does not specify a limit on the command line using, it
> should look for one in .hgrc.

You can do that right now with

[defaults]
view = --limit 200

In this case, if you wanted to see all revisions, you'd have to use
hg view -l 0

Hope this helps

Alexis



More information about the Mercurial-devel mailing list