changeset 21043 | 6c383c871fdb |
parent 20987 | 298c9f346dde |
child 21068 | c15b66a6bbb4 |
--- a/mercurial/localrepo.py Wed Apr 16 00:37:24 2014 +0900 +++ b/mercurial/localrepo.py Wed Apr 16 00:37:24 2014 +0900 @@ -1696,6 +1696,13 @@ """ pass + @unfilteredpropertycache + def prepushoutgoinghooks(self): + """Return util.hooks consists of "(repo, remote, outgoing)" + functions, which are called before pushing changesets. + """ + return util.hooks() + def push(self, remote, force=False, revs=None, newbranch=False): return exchange.push(self, remote, force, revs, newbranch)