More work in --silent support.
[gitweb.git] / contrib / fast-import / p4-fast-export.py
index b39548917a611de6980dabff84a60e35ac7bc72d..0541f84188917e13baeef4cedd67e3a568f2cf4b 100755 (executable)
@@ -42,7 +42,8 @@
         silent= True
 
 if len(args) == 0 and len(globalPrefix) != 0:
-    print "[using previously specified depot path %s]" % globalPrefix
+    if not silent:
+        print "[using previously specified depot path %s]" % globalPrefix
 elif len(args) != 1:
     print "usage: %s //depot/path[@revRange]" % sys.argv[0]
     print "\n    example:"