##// END OF EJS Templates
exchange: have `pull` return the pulloperation object...
Pierre-Yves David -
r22693:68439b15 default
parent child Browse files
Show More
@@ -866,7 +866,7 b' def pull(repo, remote, heads=None, force'
866 pullop.releasetransaction()
866 pullop.releasetransaction()
867 lock.release()
867 lock.release()
868
868
869 return pullop.cgresult
869 return pullop
870
870
871 def _pulldiscovery(pullop):
871 def _pulldiscovery(pullop):
872 """discovery phase for the pull
872 """discovery phase for the pull
@@ -1575,7 +1575,7 b' class localrepository(object):'
1575 return r
1575 return r
1576
1576
1577 def pull(self, remote, heads=None, force=False, **kwargs):
1577 def pull(self, remote, heads=None, force=False, **kwargs):
1578 return exchange.pull(self, remote, heads, force, **kwargs)
1578 return exchange.pull(self, remote, heads, force, **kwargs).cgresult
1579
1579
1580 def checkpush(self, pushop):
1580 def checkpush(self, pushop):
1581 """Extensions can override this function if additional checks have
1581 """Extensions can override this function if additional checks have
General Comments 0
You need to be logged in to leave comments. Login now