largefiles: cache largefiles for update, also without printmessage stable
authorMads Kiilerich <madski@unity3d.com>
Thu, 07 Nov 2013 01:48:00 +0100
branchstable
changeset 20061 5cb0ff40374d
parent 20060 750d04e747aa
child 20062 452f68738f69
largefiles: cache largefiles for update, also without printmessage
hgext/largefiles/lfcommands.py
--- a/hgext/largefiles/lfcommands.py	Thu Nov 07 01:47:59 2013 +0100
+++ b/hgext/largefiles/lfcommands.py	Thu Nov 07 01:48:00 2013 +0100
@@ -438,8 +438,9 @@
         if filelist is not None:
             lfiles = [f for f in lfiles if f in filelist]
 
-        if printmessage and lfiles:
-            ui.status(_('getting changed largefiles\n'))
+        if lfiles:
+            if printmessage:
+                ui.status(_('getting changed largefiles\n'))
             cachelfiles(ui, repo, None, lfiles)
 
         updated, removed = 0, 0