comparison hglib/client.py @ 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
comparison
equal deleted inserted replaced
24:ca0d7e212cf8 25:85ae94b98324
303 importbranch=importbranch, message=message, 303 importbranch=importbranch, message=message,
304 date=date, user=user, similarity=similarity, _=stdin) 304 date=date, user=user, similarity=similarity, _=stdin)
305 305
306 self.rawcommand(args, prompt=prompt, input=input) 306 self.rawcommand(args, prompt=prompt, input=input)
307 307
308 def incoming(self, revrange=None, path=None): 308 def incoming(self, revrange=None, path=None, force=False, newest=False,
309 bundle=None, bookmarks=False, branch=None, limit=None,
310 nomerges=False, subrepos=False):
309 args = cmdbuilder('incoming', 311 args = cmdbuilder('incoming',
310 path, 312 path,
311 template=templates.changeset, rev=revrange) 313 template=templates.changeset, r=revrange,
314 f=force, n=newest, bundle=bundle,
315 B=bookmarks, b=branch, l=limit, M=nomerges, S=subrepos)
312 316
313 def eh(ret, out, err): 317 def eh(ret, out, err):
314 if ret != 1: 318 if ret != 1:
315 raise error.CommandError(args, ret, out, err) 319 raise error.CommandError(args, ret, out, err)
316 320