Patchwork D2677: largefiles: use %d instead of %s to process ints

login
register
mail settings
Submitter phabricator
Date March 4, 2018, 10:11 p.m.
Message ID <e413b3d9287bf1bc0e04443d922b4f3c@localhost.localdomain>
Download mbox | patch
Permalink /patch/29019/
State Not Applicable
Headers show

Comments

phabricator - March 4, 2018, 10:11 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5c72b52d3dd0: largefiles: use %d instead of %s to process ints (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2677?vs=6629&id=6631

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

AFFECTED FILES
  hgext/largefiles/overrides.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -812,7 +812,7 @@ 
         repo.firstpulled = revsprepull # for pulled() revset expression
         try:
             for rev in scmutil.revrange(repo, lfrevs):
-                ui.note(_('pulling largefiles for revision %s\n') % rev)
+                ui.note(_('pulling largefiles for revision %d\n') % rev)
                 (cached, missing) = lfcommands.cachelfiles(ui, repo, rev)
                 numcached += len(cached)
         finally: