[PATCH] journal: enable pager
Yuya Nishihara
yuya at tcha.org
Thu Feb 23 08:48:29 EST 2017
On Thu, 23 Feb 2017 00:35:25 -0800, Aaron Kushner wrote:
> # HG changeset patch
> # User Aaron Kushner <akushner at fb.com>
> # Date 1487833298 28800
> # Wed Feb 22 23:01:38 2017 -0800
> # Node ID d81680ba42dabf6780e51009678a6aa809ad35bb
> # Parent 96eaefd350aec869047d9e2da90913ae698463df
> journal: enable pager
>
> The journal has been lacking pager support.
>
> diff --git a/hgext/journal.py b/hgext/journal.py
> --- a/hgext/journal.py
> +++ b/hgext/journal.py
> @@ -467,6 +467,7 @@
>
> limit = cmdutil.loglimit(opts)
> entry = None
> + ui.pager('journal')
> for count, entry in enumerate(repo.journal.filtered(name=name)):
Maybe we would want to see "previous locations of ..." message in pager?
More information about the Mercurial-devel
mailing list