diff options
author | Simon Hausmann <hausmann@kde.org> | 2007-01-31 22:41:08 +0100 |
---|---|---|
committer | Simon Hausmann <hausmann@kde.org> | 2007-01-31 22:41:08 +0100 |
commit | f26037dce365b3e525596c6f0236ab203d87a872 (patch) | |
tree | 149a2ceb0b8515d9186e3edf55d958fa3907f6ba /contrib | |
parent | Avoid calling fstat for every imported file (slow!) and instead read the file... (diff) | |
download | tgif-f26037dce365b3e525596c6f0236ab203d87a872.tar.xz |
Permit calling p4-fast-export with a depot path that has the typical ... wildcard at the end.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/fast-import/p4-fast-export.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 133447c4e7..72e01224bf 100644 --- a/contrib/fast-import/p4-fast-export.py +++ b/contrib/fast-import/p4-fast-export.py @@ -35,6 +35,9 @@ try: except ValueError: changeRange = "" +if prefix.endswith("..."): + prefix = prefix[:-3] + if not prefix.endswith("/"): prefix += "/" |