# HG changeset patch # User Na'Tosha Bard # Date 1360425721 0 # Node ID 46edbc49a9f213dd9c78e4dbaa8809661058bb07 # Parent 909cb9ddba4a3ca036ac4803868d0d9817ef472b largefiles: fix test and check code diff -r 909cb9ddba4a -r 46edbc49a9f2 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Sat Aug 03 16:40:13 2013 +0200 +++ b/hgext/largefiles/overrides.py Sat Feb 09 16:02:01 2013 +0000 @@ -741,7 +741,7 @@ heads = lfutil.getcurrentheads(repo) newheads = set(heads).difference(set(oldheads)) if len(newheads) > 0: - ui.status(_("caching largefiles for %s heads\n" % len(newheads))) + ui.status(_("caching largefiles for %s heads\n") % len(newheads)) for head in newheads: (cached, missing) = lfcommands.cachelfiles(ui, repo, head) numcached += len(cached) diff -r 909cb9ddba4a -r 46edbc49a9f2 tests/test-largefiles-cache.t --- a/tests/test-largefiles-cache.t Sat Aug 03 16:40:13 2013 +0200 +++ b/tests/test-largefiles-cache.t Sat Feb 09 16:02:01 2013 +0000 @@ -37,7 +37,7 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) - caching new largefiles + caching largefiles for 1 heads 0 largefiles cached Update working directory to "tip", which requires largefile("large"),