summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <hausmann@kde.org>2007-02-22 09:22:36 +0100
committerLibravatar Simon Hausmann <hausmann@kde.org>2007-02-22 09:22:36 +0100
commit47e33ec082a4ee5d2925760cb1150b25f4ef392e (patch)
treec3f1037a693abe4aa8568c37e946aea49450220e
parentAdded support for --silent so that p4-fast-export can be called from cronjobs. (diff)
downloadtgif-47e33ec082a4ee5d2925760cb1150b25f4ef392e.tar.xz
More work in --silent support.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
-rwxr-xr-xcontrib/fast-import/p4-fast-export.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py
index b39548917a..0541f84188 100755
--- a/contrib/fast-import/p4-fast-export.py
+++ b/contrib/fast-import/p4-fast-export.py
@@ -42,7 +42,8 @@ for o, a in opts:
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:"