Show More
@@ -151,6 +151,13 b' class converter_source(object):' | |||||
151 | """ |
|
151 | """ | |
152 | return None |
|
152 | return None | |
153 |
|
153 | |||
|
154 | def getbookmarks(self): | |||
|
155 | """Return the bookmarks as a dictionary of name: revision | |||
|
156 | ||||
|
157 | Bookmark names are to be UTF-8 strings. | |||
|
158 | """ | |||
|
159 | return {} | |||
|
160 | ||||
154 | class converter_sink(object): |
|
161 | class converter_sink(object): | |
155 | """Conversion sink (target) interface""" |
|
162 | """Conversion sink (target) interface""" | |
156 |
|
163 | |||
@@ -228,6 +235,13 b' class converter_sink(object):' | |||||
228 | def after(self): |
|
235 | def after(self): | |
229 | pass |
|
236 | pass | |
230 |
|
237 | |||
|
238 | def putbookmarks(self, bookmarks): | |||
|
239 | """Put bookmarks into sink. | |||
|
240 | ||||
|
241 | bookmarks: {bookmarkname: sink_rev_id, ...} | |||
|
242 | where bookmarkname is an UTF-8 string. | |||
|
243 | """ | |||
|
244 | pass | |||
231 |
|
245 | |||
232 | class commandline(object): |
|
246 | class commandline(object): | |
233 | def __init__(self, ui, command): |
|
247 | def __init__(self, ui, command): |
General Comments 0
You need to be logged in to leave comments.
Login now