diff hgext/largefiles/lfcommands.py @ 20061:5cb0ff40374d stable

largefiles: cache largefiles for update, also without printmessage
author Mads Kiilerich <madski@unity3d.com>
date Thu, 07 Nov 2013 01:48:00 +0100
parents 750d04e747aa
children 452f68738f69
line wrap: on
line diff
--- 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