diff options
author | Simon Hausmann <hausmann@kde.org> | 2007-02-22 09:22:36 +0100 |
---|---|---|
committer | Simon Hausmann <hausmann@kde.org> | 2007-02-22 09:22:36 +0100 |
commit | 47e33ec082a4ee5d2925760cb1150b25f4ef392e (patch) | |
tree | c3f1037a693abe4aa8568c37e946aea49450220e | |
parent | Added support for --silent so that p4-fast-export can be called from cronjobs. (diff) | |
download | tgif-47e33ec082a4ee5d2925760cb1150b25f4ef392e.tar.xz |
More work in --silent support.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
-rwxr-xr-x | contrib/fast-import/p4-fast-export.py | 3 |
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:" |