Patchwork [02,of,17] convert: remove superfluous pass statements

login
register
mail settings
Submitter Augie Fackler
Date Sept. 30, 2017, 12:02 p.m.
Message ID <f80c5a4dac76cb923f83.1506772928@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/24235/
State Accepted
Headers show

Comments

Augie Fackler - Sept. 30, 2017, 12:02 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1506771767 14400
#      Sat Sep 30 07:42:47 2017 -0400
# Node ID f80c5a4dac76cb923f83b8a51f953e17bdc34a86
# Parent  200bd11a6fbb0a6f6667e65fd0af721e54e39d20
convert: remove superfluous pass statements

Patch

diff --git a/hgext/convert/common.py b/hgext/convert/common.py
--- a/hgext/convert/common.py
+++ b/hgext/convert/common.py
@@ -105,7 +105,6 @@  class converter_source(object):
 
     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 @@  class converter_source(object):
 
     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 @@  class converter_sink(object):
         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 @@  class converter_sink(object):
         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 @@  class converter_sink(object):
         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