Mercurial > hg
comparison mercurial/templatekw.py @ 22620:4d52e6eb98ea
locarepo: remove the `push` method (API)
All the logic of this function is in the exchange.push function for some time.
We just stop calling `localrepo.push` in `command.push` to have access to more
information. Leaving `localrepo.push` in place will let third-party extensions
wrap it but it would never be called by `hg push` making the wrapping useless.
Therefore, the method is removed so that third-party code fail noisily and
get properly upgraded.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 25 Sep 2014 01:43:24 -0700 |
parents | 293930a1fa0a |
children | 40fcf6c05217 |
comparison
equal
deleted
inserted
replaced
22619:f6cf96804d27 | 22620:4d52e6eb98ea |
---|