--- a/hgext/convert/common.py Wed Mar 23 11:22:29 2011 +0100
+++ b/hgext/convert/common.py Wed Jul 07 00:06:59 2010 +0200
@@ -151,6 +151,13 @@
"""
return None
+ def getbookmarks(self):
+ """Return the bookmarks as a dictionary of name: revision
+
+ Bookmark names are to be UTF-8 strings.
+ """
+ return {}
+
class converter_sink(object):
"""Conversion sink (target) interface"""
@@ -228,6 +235,13 @@
def after(self):
pass
+ def putbookmarks(self, bookmarks):
+ """Put bookmarks into sink.
+
+ bookmarks: {bookmarkname: sink_rev_id, ...}
+ where bookmarkname is an UTF-8 string.
+ """
+ pass
class commandline(object):
def __init__(self, ui, command):