diff -r d771641b7051 -r e10000369b47 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Mar 28 14:43:30 2014 -0700 +++ b/mercurial/localrepo.py Tue Apr 01 13:45:48 2014 -0700 @@ -1673,7 +1673,7 @@ def pull(self, remote, heads=None, force=False): return exchange.pull (self, remote, heads, force) - def checkpush(self, force, revs): + def checkpush(self, pushop): """Extensions can override this function if additional checks have to be performed before pushing, or call it if they override push command.