changeset 21761:b2dc026a9bd2 stable

push: restore contents of HG_URL for hooks (issue4268)
author Matt Mackall <mpm@selenic.com>
date Wed, 18 Jun 2014 19:46:18 -0500
parents a7f5967ff644
children cd3c79392056 a4b67bf1f0a5
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/exchange.py	Wed Jun 18 13:47:14 2014 -0500
+++ b/mercurial/exchange.py	Wed Jun 18 19:46:18 2014 -0500
@@ -286,7 +286,7 @@
         # ssh: return remote's addchangegroup()
         # http: return remote's addchangegroup() or 0 for error
         pushop.ret = pushop.remote.unbundle(cg, remoteheads,
-                                            'push')
+                                            pushop.repo.url())
     else:
         # we return an integer indicating remote head count
         # change