[PATCH hglib] log: fix 'hidden' option

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jan 27 03:53:56 CST 2014


On Mon, Jan 27, 2014 at 09:47:54AM +0100, Julien Cristau wrote:
> # HG changeset patch
> # User Julien Cristau <julien.cristau at logilab.fr>
> # Date 1390811395 -3600
> #      Mon Jan 27 09:29:55 2014 +0100
> # Node ID 411738417d4aea4f086804d82068e31d2a6a690d
> # Parent  e738d6fe5f3ff613a4ee2c0d759eee0ee4f5c9ff
> log: fix 'hidden' option
> 
> We were passing -h, which is 'help', not 'hidden'.
> 
> diff --git a/hglib/client.py b/hglib/client.py
> --- a/hglib/client.py
> +++ b/hglib/client.py
> @@ -942,11 +942,11 @@ class hgclient(object):
>          exclude - exclude names matching the given patterns
>          """
>          args = cmdbuilder('log', template=templates.changeset,
>                            r=revrange, f=follow, follow_first=followfirst,
>                            d=date, C=copies, k=keyword, removed=removed,
> -                          m=onlymerges, u=user, b=branch, P=prune, h=hidden,
> +                          m=onlymerges, u=user, b=branch, P=prune, hidden=hidden,
>                            l=limit, M=nomerges, I=include, X=exclude, *files)
>  
>          out = self.rawcommand(args)
>          out = out.split('\0')[:-1]

Can you resend those with some testing?

Thanks for the contribution, What part of Logilab infra switched to the command
server?

-- 
Pierre-Yves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140127/936d58ce/attachment.pgp>


More information about the Mercurial-devel mailing list