comparison mercurial/localrepo.py @ 34377:a14642bdf364

localrepo: remove superfluous pass statements
author Augie Fackler <augie@google.com>
date Sat, 30 Sep 2017 07:44:34 -0400
parents 3c9691728237
children 0314e02efa25
comparison
equal deleted inserted replaced
34376:4741428606ed 34377:a14642bdf364
2179 def checkpush(self, pushop): 2179 def checkpush(self, pushop):
2180 """Extensions can override this function if additional checks have 2180 """Extensions can override this function if additional checks have
2181 to be performed before pushing, or call it if they override push 2181 to be performed before pushing, or call it if they override push
2182 command. 2182 command.
2183 """ 2183 """
2184 pass
2185 2184
2186 @unfilteredpropertycache 2185 @unfilteredpropertycache
2187 def prepushoutgoinghooks(self): 2186 def prepushoutgoinghooks(self):
2188 """Return util.hooks consists of a pushop with repo, remote, outgoing 2187 """Return util.hooks consists of a pushop with repo, remote, outgoing
2189 methods, which are called before pushing changesets. 2188 methods, which are called before pushing changesets.