[PATCH 1 of 2] exchange: use pushop.repo instead of repo

Sean Farley sean at farley.io
Thu Oct 15 06:03:48 UTC 2015


# HG changeset patch
# User Sean Farley <sean at farley.io>
# Date 1444801988 25200
#      Tue Oct 13 22:53:08 2015 -0700
# Node ID eee993036c7c1593dbef90ae639cca5c07f10594
# Parent  a38924f7680c6b7d95e14ade999c35748c9dcafd
exchange: use pushop.repo instead of repo

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -224,11 +224,11 @@ def push(repo, remote, force=False, revs
         # synchronisation.
         msg = 'cannot lock source repository: %s\n' % err
         pushop.ui.debug(msg)
     try:
         if pushop.locallocked:
-            pushop.trmanager = transactionmanager(repo,
+            pushop.trmanager = transactionmanager(pushop.repo,
                                                   'push-response',
                                                   pushop.remote.url())
         pushop.repo.checkpush(pushop)
         lock = None
         unbundle = pushop.remote.capable('unbundle')


More information about the Mercurial-devel mailing list