Patchwork D1917: scmutil: 0-pad transaction report callback category

login
register
mail settings
Submitter phabricator
Date Jan. 19, 2018, 9:32 p.m.
Message ID <8c9e4c7e1812800e68f6162be1e906b6@localhost.localdomain>
Download mbox | patch
Permalink /patch/26981/
State Not Applicable
Headers show

Comments

phabricator - Jan. 19, 2018, 9:32 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG963a611b2f39: scmutil: 0-pad transaction report callback category (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1917?vs=4955&id=4957

REVISION DETAIL
  https://phab.mercurial-scm.org/D1917

AFFECTED FILES
  mercurial/scmutil.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -1247,7 +1247,7 @@ 
             if filtername:
                 repo = repo.filtered(filtername)
             func(repo, tr)
-        newcat = '%2i-txnreport' % len(categories)
+        newcat = '%02i-txnreport' % len(categories)
         otr.addpostclose(newcat, wrapped)
         categories.append(newcat)
         return wrapped