[PATCH 1 of 3 hglib] client: add missing options to incoming

Idan Kamara idankk86 at gmail.com
Thu Aug 11 14:59:36 CDT 2011


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1313092697 -10800
# Node ID 39f996bd83051fd7884065de9696bb739d3f94ad
# Parent  de667d0160d3222fc3ecdada706a9429cc381467
client: add missing options to incoming

diff -r de667d0160d3 -r 39f996bd8305 hglib/client.py
--- a/hglib/client.py	Thu Aug 11 17:54:09 2011 +0300
+++ b/hglib/client.py	Thu Aug 11 22:58:17 2011 +0300
@@ -305,10 +305,14 @@
 
         self.rawcommand(args, prompt=prompt, input=input)
 
-    def incoming(self, revrange=None, path=None):
+    def incoming(self, revrange=None, path=None, force=False, newest=False,
+                 bundle=None, bookmarks=False, branch=None, limit=None,
+                 nomerges=False, subrepos=False):
         args = cmdbuilder('incoming',
                           path,
-                          template=templates.changeset, rev=revrange)
+                          template=templates.changeset, r=revrange,
+                          f=force, n=newest, bundle=bundle,
+                          B=bookmarks, b=branch, l=limit, M=nomerges, S=subrepos)
 
         def eh(ret, out, err):
             if ret != 1:


More information about the Mercurial-devel mailing list