diff -r 84cd5ee787ed -r cd3c79392056 mercurial/exchange.py --- a/mercurial/exchange.py Wed Jun 18 20:51:49 2014 -0500 +++ b/mercurial/exchange.py Wed Jun 18 20:59:36 2014 -0500 @@ -281,7 +281,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