wrappers: note which version of hg 87cd351dd15c is from

This commit is contained in:
Augie Fackler 2014-04-12 11:02:11 -04:00
parent 9d71c3f5cd
commit bf1fb7b5d7

View File

@ -181,7 +181,8 @@ def push(repo, dest, force, revs):
checkpush = getattr(repo, 'checkpush', None)
if checkpush:
try:
# The checkpush function changed as of e10000369b47 in mercurial
# The checkpush function changed as of e10000369b47 (first
# in 3.0) in mercurial
from mercurial.exchange import pushoperation
pushop = pushoperation(repo, dest, force, revs, False)
checkpush(pushop)