mercurial/exchange.py
changeset 29780 531e85eec23c
parent 29689 39537bc64442
parent 29704 b8f9cdca8807
child 29807 d4e026341e16
--- a/mercurial/exchange.py	Sat Aug 13 04:21:42 2016 +0530
+++ b/mercurial/exchange.py	Mon Aug 15 12:26:02 2016 -0400
@@ -864,7 +864,8 @@
     stream = util.chunkbuffer(bundler.getchunks())
     try:
         try:
-            reply = pushop.remote.unbundle(stream, ['force'], 'push')
+            reply = pushop.remote.unbundle(
+                stream, ['force'], pushop.remote.url())
         except error.BundleValueError as exc:
             raise error.Abort(_('missing support for %s') % exc)
         try: