[PATCH] pager: add more incoming, outgoing, help to default attend list (issue3442)

Brodie Rao brodie at bitheap.org
Sat May 12 03:59:55 CDT 2012


On Sat, May 12, 2012 at 10:25 AM, Levi Bard
<taktaktaktaktaktaktaktaktaktak at gmail.com> wrote:
> # HG changeset patch
> # User Levi Bard <levi at unity3d.com>
> # Date 1336811044 -7200
> # Node ID bd91906e1d112bafbea8843e56041337c30b6464
> # Parent  1388cc711ea70387ec648ded919e854c94e36c04
> pager: add more incoming, outgoing, help to default attend list (issue3442)
>
> diff -r 1388cc711ea7 -r bd91906e1d11 hgext/pager.py
> --- a/hgext/pager.py    Tue May 08 15:31:00 2012 -0700
> +++ b/hgext/pager.py    Sat May 12 10:24:04 2012 +0200
> @@ -100,4 +100,5 @@
>          _("when to paginate (boolean, always, auto, or never)"),
>          _('TYPE')))
>
> -attended = ['annotate', 'cat', 'diff', 'export', 'glog', 'log', 'qdiff']
> +attended = ['annotate', 'cat', 'diff', 'export', 'glog', 'log', 'qdiff',
> +            'incoming', 'outgoing', 'help']

I don't think this is a good idea. Incoming and outgoing might prompt
for credentials, and if the pager's already loaded, being able to
input them becomes problematic to say the least.

It might be nice to make these paged by default once we have a nice
way of handling user/password prompts that come before any output.


More information about the Mercurial-devel mailing list