From patchwork Mon Jan 27 08:47:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [hglib] log: fix 'hidden' option From: Julien Cristau X-Patchwork-Id: 3410 Message-Id: <411738417d4aea4f0868.1390812474@crater2.logilab.fr> To: mercurial-devel@selenic.com Date: Mon, 27 Jan 2014 09:47:54 +0100 # HG changeset patch # User Julien Cristau # 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]