Mercurial > python-hglib
comparison hglib/client.py @ 26:b4e5c8745ef3
client: add missing options to outgoing
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Thu, 11 Aug 2011 22:58:38 +0300 |
parents | 85ae94b98324 |
children | 46908f4b87d5 |
comparison
equal
deleted
inserted
replaced
25:85ae94b98324 | 26:b4e5c8745ef3 |
---|---|
338 out = self.rawcommand(args) | 338 out = self.rawcommand(args) |
339 out = out.split('\0')[:-1] | 339 out = out.split('\0')[:-1] |
340 | 340 |
341 return self._parserevs(out) | 341 return self._parserevs(out) |
342 | 342 |
343 def outgoing(self, revrange=None, path=None): | 343 def outgoing(self, revrange=None, path=None, force=False, newest=False, |
344 bookmarks=False, branch=None, limit=None, nomerges=False, | |
345 subrepos=False): | |
344 args = cmdbuilder('outgoing', | 346 args = cmdbuilder('outgoing', |
345 path, template=templates.changeset, rev=revrange) | 347 path, |
348 template=templates.changeset, r=revrange, | |
349 f=force, n=newest, B=bookmarks, | |
350 b=branch, S=subrepos) | |
346 | 351 |
347 def eh(ret, out, err): | 352 def eh(ret, out, err): |
348 if ret != 1: | 353 if ret != 1: |
349 raise error.CommandError(args, ret, out, err) | 354 raise error.CommandError(args, ret, out, err) |
350 | 355 |