D1917: scmutil: 0-pad transaction report callback category

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Jan 19 16:32:10 EST 2018


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

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



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


More information about the Mercurial-devel mailing list