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

login
register
mail settings
Submitter phabricator
Date March 4, 2018, 9:51 p.m.
Message ID <differential-rev-PHID-DREV-qgqt52psmbxdqslf4nae-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/29016/
State Superseded
Headers show

Comments

phabricator - March 4, 2018, 9:51 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/largefiles/overrides.py

CHANGE DETAILS




To: durin42, #hg-reviewers
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: