D4352: log: add a config option to limit the number of csets

Yuya Nishihara yuya at tcha.org
Wed Aug 22 09:10:26 EDT 2018


> diff --git a/hgext/journal.py b/hgext/journal.py
> --- a/hgext/journal.py
> +++ b/hgext/journal.py
> @@ -485,7 +485,7 @@
>              displayname = "'%s'" % name
>          ui.status(_("previous locations of %s:\n") % displayname)
>  
> -    limit = logcmdutil.getlimit(opts)
> +    limit = logcmdutil.getlimit(ui, opts)
>      entry = None
>      ui.pager('journal')
>      for count, entry in enumerate(repo.journal.filtered(name=name)):

I'm pretty sure this is unrelated to the log limit. Maybe extract
`stringutil.parselimit()`?


More information about the Mercurial-devel mailing list