From patchwork Thu Oct 15 06:03:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1,of,2] exchange: use pushop.repo instead of repo From: Sean Farley X-Patchwork-Id: 11096 Message-Id: To: mercurial-devel@selenic.com Date: Wed, 14 Oct 2015 23:03:48 -0700 # HG changeset patch # User Sean Farley # 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')