diff mercurial/exchange.py @ 22616:cda85cfc8252

push: `exchange.push` now returns the `pushoperation` object Returning the pushop object gives access to more information (upcoming bookmark push result for example). `localrepo.push` currently extracts the `cgresult` for callers.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 25 Sep 2014 02:21:59 -0700
parents 4f14303e8954
children ce6b9edee725
line wrap: on
line diff
--- a/mercurial/exchange.py	Thu Sep 25 00:55:39 2014 -0700
+++ b/mercurial/exchange.py	Thu Sep 25 02:21:59 2014 -0700
@@ -211,7 +211,7 @@
         if locallock is not None:
             locallock.release()
 
-    return pushop.cgresult
+    return pushop
 
 # list of steps to perform discovery before push
 pushdiscoveryorder = []