diff hgext/convert/common.py @ 34369:5adbd3806ef7

convert: remove superfluous pass statements
author Augie Fackler <augie@google.com>
date Sat, 30 Sep 2017 07:42:47 -0400
parents d5b2beca16c0
children 671aba341d90
line wrap: on
line diff
--- a/hgext/convert/common.py	Fri Sep 29 11:55:26 2017 -0400
+++ b/hgext/convert/common.py	Sat Sep 30 07:42:47 2017 -0400
@@ -105,7 +105,6 @@
 
     def setrevmap(self, revmap):
         """set the map of already-converted revisions"""
-        pass
 
     def getheads(self):
         """Return a list of this repository's heads"""
@@ -182,7 +181,6 @@
 
     def converted(self, rev, sinkrev):
         '''Notify the source that a revision has been converted.'''
-        pass
 
     def hasnativeorder(self):
         """Return true if this source has a meaningful, native revision
@@ -276,7 +274,6 @@
         on the branch.
         branch: branch name for subsequent commits
         pbranches: (converted parent revision, parent branch) tuples"""
-        pass
 
     def setfilemapmode(self, active):
         """Tell the destination that we're using a filemap
@@ -286,7 +283,6 @@
         tells the destination that we're using a filemap and that it should
         filter empty revisions.
         """
-        pass
 
     def before(self):
         pass
@@ -300,7 +296,6 @@
         bookmarks: {bookmarkname: sink_rev_id, ...}
         where bookmarkname is an UTF-8 string.
         """
-        pass
 
     def hascommitfrommap(self, rev):
         """Return False if a rev mentioned in a filemap is known to not be