convert: add bookmark support to hg source
authorEdouard Gomez <ed.gomez@free.fr>
Fri, 25 Mar 2011 01:38:47 +0100
changeset 13757 043238abda94
parent 13756 6b7077df4aa5
child 13758 5c0e1222e7c0
convert: add bookmark support to hg source
hgext/convert/hg.py
--- a/hgext/convert/hg.py	Fri Mar 25 01:38:43 2011 +0100
+++ b/hgext/convert/hg.py	Fri Mar 25 01:38:47 2011 +0100
@@ -384,3 +384,6 @@
             return hex(self.repo.lookup(rev))
         except error.RepoError:
             return None
+
+    def getbookmarks(self):
+        return bookmarks.listbookmarks(self.repo)