[PATCH 05 of 17] cmdutil: remove superfluous pass statements
Augie Fackler
raf at durin42.com
Sat Sep 30 08:02:11 EDT 2017
# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1506771806 14400
# Sat Sep 30 07:43:26 2017 -0400
# Node ID 979cb36af44c9f3104131ba078221eca550874f1
# Parent 6b594a14e15fa86291fadd25f45e280ba7e004a9
cmdutil: remove superfluous pass statements
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -1735,7 +1735,6 @@ class changeset_printer(object):
def _exthook(self, ctx):
'''empty method used by extension as a hook point
'''
- pass
def showpatch(self, ctx, matchfn):
if not matchfn:
@@ -3632,7 +3631,6 @@ def revert(ui, repo, ctx, parents, *pats
def _revertprefetch(repo, ctx, *files):
"""Let extension changing the storage layer prefetch content"""
- pass
def _performrevert(repo, parents, ctx, actions, interactive=False,
tobackup=None):
More information about the Mercurial-devel
mailing list