--last option

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Wed Dec 10 15:52:42 UTC 2008


On Wed, Dec 10, 2008 at 11:41 AM, Alexander Solovyov
<piranha at piranha.org.ua> wrote:
> On 2008-12-10, Leslie P. Polzer wrote:
>
>> While I'm at it: I'm fond of the --last option that Darcs
>> provides to select a range of changesets starting from tip.
>
>> How about adding it to "hg diff", "hg log" and possibly
>> others?
>
>> hg help log|grep limit
>  -l --limit         limit number of changes displayed

And for `hg diff` you can instead do `hg log --patch --limit n`.
-parren



More information about the Mercurial mailing list