Mercurial > python-hglib
comparison hglib/client.py @ 38:32f6a2bbf63e
client: add identify command
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Mon, 15 Aug 2011 22:46:45 +0300 |
parents | 5506a241c826 |
children | 0555d58a7313 |
comparison
equal
deleted
inserted
replaced
37:5506a241c826 | 38:32f6a2bbf63e |
---|---|
354 B=ignoreblanklines, U=unified, stat=stat, | 354 B=ignoreblanklines, U=unified, stat=stat, |
355 S=subrepos, I=include, X=exclude) | 355 S=subrepos, I=include, X=exclude) |
356 | 356 |
357 return self.rawcommand(args) | 357 return self.rawcommand(args) |
358 | 358 |
359 def identify(self, rev=None, source=None, num=False, id=False, branch=False, | |
360 tags=False, bookmarks=False): | |
361 args = cmdbuilder('identify', source, r=rev, n=num, i=id, b=branch, t=tags, | |
362 B=bookmarks) | |
363 | |
364 return self.rawcommand(args) | |
365 | |
359 def import_(self, patches, strip=None, force=False, nocommit=False, | 366 def import_(self, patches, strip=None, force=False, nocommit=False, |
360 bypass=False, exact=False, importbranch=False, message=None, | 367 bypass=False, exact=False, importbranch=False, message=None, |
361 date=None, user=None, similarity=None): | 368 date=None, user=None, similarity=None): |
362 """ | 369 """ |
363 patches can be a list of file names with patches to apply | 370 patches can be a list of file names with patches to apply |