Honor --silent for labels
authorSimon Hausmann <simon@lst.de>
Sun, 8 Apr 2007 07:00:55 +0000 (09:00 +0200)
committerSimon Hausmann <simon@lst.de>
Sun, 8 Apr 2007 07:00:55 +0000 (09:00 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4

index fcdfe22a45ad58ea4bf8b7fa0979b256a622c987..65660e135169b83b5cbb3f7f9f4f0f067baba5e8 100755 (executable)
@@ -807,7 +807,7 @@ class P4Sync(Command):
         self.labels = {}
 
         l = p4CmdList("labels %s..." % self.globalPrefix)
-        if len(l) > 0:
+        if len(l) > 0 and not silent:
             print "Finding files belonging to labels in %s" % self.globalPrefix
 
         for output in l: