changeset 25:85ae94b98324

client: add missing options to incoming
author Idan Kamara <idankk86@gmail.com>
date Thu, 11 Aug 2011 22:58:17 +0300
parents ca0d7e212cf8
children b4e5c8745ef3
files hglib/client.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: