From patchwork Thu Jan 18 13:42:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1866: transaction: register summary callbacks only at start of transaction (BC) From: phabricator X-Patchwork-Id: 26895 Message-Id: <11264497455b5012edc9df087fbcbd0b@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 18 Jan 2018 13:42:03 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG03e921942163: transaction: register summary callbacks only at start of transaction (BC) (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1866?vs=4841&id=4897 REVISION DETAIL https://phab.mercurial-scm.org/D1866 AFFECTED FILES mercurial/localrepo.py tests/test-transplant.t CHANGE DETAILS To: martinvonz, #hg-reviewers, yuja Cc: mercurial-devel diff --git a/tests/test-transplant.t b/tests/test-transplant.t --- a/tests/test-transplant.t +++ b/tests/test-transplant.t @@ -354,7 +354,6 @@ added 1 changesets with 1 changes to 1 files applying a53251cdf717 a53251cdf717 transplanted to 8d9279348abb - new changesets 37a1297eb21b:8d9279348abb $ hg log --template '{rev} {parents} {desc}\n' 2 b3 1 b1 @@ -560,7 +559,6 @@ added 2 changesets with 2 changes to 2 files applying a53251cdf717 4:a53251cdf717 merged at 4831f4dc831a - new changesets 722f4667af76:4831f4dc831a test interactive transplant diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1134,7 +1134,6 @@ raise error.ProgrammingError('transaction requires locking') tr = self.currenttransaction() if tr is not None: - scmutil.registersummarycallback(self, tr, desc) return tr.nest() # abort here if the journal already exists