mercurial/exchange.py
changeset 22224 f713de1d3916
parent 22069 616a455b02ca
child 22226 827bce9e24fb
--- a/mercurial/exchange.py	Mon Aug 18 12:12:57 2014 -0700
+++ b/mercurial/exchange.py	Fri Aug 15 15:25:12 2014 -0700
@@ -187,6 +187,7 @@
             _pushchangeset(pushop)
             _pushsyncphase(pushop)
             _pushobsolete(pushop)
+            _pushbookmark(pushop)
         finally:
             if lock is not None:
                 lock.release()
@@ -194,7 +195,6 @@
         if locallock is not None:
             locallock.release()
 
-    _pushbookmark(pushop)
     return pushop.ret
 
 # list of steps to perform discovery before push