##// END OF EJS Templates
convert: remove superfluous pass statements
Augie Fackler -
r34368:5adbd380 default
parent child Browse files
Show More
@@ -105,7 +105,6 b' class converter_source(object):'
105
105
106 def setrevmap(self, revmap):
106 def setrevmap(self, revmap):
107 """set the map of already-converted revisions"""
107 """set the map of already-converted revisions"""
108 pass
109
108
110 def getheads(self):
109 def getheads(self):
111 """Return a list of this repository's heads"""
110 """Return a list of this repository's heads"""
@@ -182,7 +181,6 b' class converter_source(object):'
182
181
183 def converted(self, rev, sinkrev):
182 def converted(self, rev, sinkrev):
184 '''Notify the source that a revision has been converted.'''
183 '''Notify the source that a revision has been converted.'''
185 pass
186
184
187 def hasnativeorder(self):
185 def hasnativeorder(self):
188 """Return true if this source has a meaningful, native revision
186 """Return true if this source has a meaningful, native revision
@@ -276,7 +274,6 b' class converter_sink(object):'
276 on the branch.
274 on the branch.
277 branch: branch name for subsequent commits
275 branch: branch name for subsequent commits
278 pbranches: (converted parent revision, parent branch) tuples"""
276 pbranches: (converted parent revision, parent branch) tuples"""
279 pass
280
277
281 def setfilemapmode(self, active):
278 def setfilemapmode(self, active):
282 """Tell the destination that we're using a filemap
279 """Tell the destination that we're using a filemap
@@ -286,7 +283,6 b' class converter_sink(object):'
286 tells the destination that we're using a filemap and that it should
283 tells the destination that we're using a filemap and that it should
287 filter empty revisions.
284 filter empty revisions.
288 """
285 """
289 pass
290
286
291 def before(self):
287 def before(self):
292 pass
288 pass
@@ -300,7 +296,6 b' class converter_sink(object):'
300 bookmarks: {bookmarkname: sink_rev_id, ...}
296 bookmarks: {bookmarkname: sink_rev_id, ...}
301 where bookmarkname is an UTF-8 string.
297 where bookmarkname is an UTF-8 string.
302 """
298 """
303 pass
304
299
305 def hascommitfrommap(self, rev):
300 def hascommitfrommap(self, rev):
306 """Return False if a rev mentioned in a filemap is known to not be
301 """Return False if a rev mentioned in a filemap is known to not be
General Comments 0
You need to be logged in to leave comments. Login now