diff fetch_command.py @ 42:485ae93bc358

Only print this message if we actually care.
author Augie Fackler <durin42@gmail.com>
date Sun, 26 Oct 2008 22:43:01 -0500
parents b3c7b844b782
children 85fcac4e2291
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -137,7 +137,9 @@ def replay_convert_rev(hg_editor, svn, r
                 dirs_to_list.append(p)
             else:
                 files_to_grab.add(p)
-        hg_editor.ui.status('\nChecking for additional files in directories...\n')
+        if dirs_to_list:
+            hg_editor.ui.status('\nChecking for additional files in'
+                                ' directories...\n')
         while dirs_to_list:
             hg_editor.ui.status('.')
             hg_editor.ui.flush()