[PATCH hglib] log: fix 'hidden' option
Julien Cristau
julien.cristau at logilab.fr
Mon Jan 27 02:47:54 CST 2014
# 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]
More information about the Mercurial-devel
mailing list