changeset 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 6b7077df4aa5
children 5c0e1222e7c0
files hgext/convert/hg.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)