Mercurial > hg
comparison hgext/convert/hg.py @ 13757:043238abda94
convert: add bookmark support to hg source
author | Edouard Gomez <ed.gomez@free.fr> |
---|---|
date | Fri, 25 Mar 2011 01:38:47 +0100 |
parents | d80b768545cb |
children | 1fe82c93b8e2 |
comparison
equal
deleted
inserted
replaced
13756:6b7077df4aa5 | 13757:043238abda94 |
---|---|
382 def lookuprev(self, rev): | 382 def lookuprev(self, rev): |
383 try: | 383 try: |
384 return hex(self.repo.lookup(rev)) | 384 return hex(self.repo.lookup(rev)) |
385 except error.RepoError: | 385 except error.RepoError: |
386 return None | 386 return None |
387 | |
388 def getbookmarks(self): | |
389 return bookmarks.listbookmarks(self.repo) |