Patchwork D1866: transaction: register summary callbacks only at start of transaction (BC)

login
register
mail settings
Submitter phabricator
Date Jan. 18, 2018, 1:42 p.m.
Message ID <11264497455b5012edc9df087fbcbd0b@localhost.localdomain>
Download mbox | patch
Permalink /patch/26895/
State Not Applicable
Headers show

Comments

phabricator - Jan. 18, 2018, 1:42 p.m.
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

Patch

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