Permit calling p4-fast-export with a depot path that has the typical ... wildcard...
authorSimon Hausmann <hausmann@kde.org>
Wed, 31 Jan 2007 21:41:08 +0000 (22:41 +0100)
committerSimon Hausmann <hausmann@kde.org>
Wed, 31 Jan 2007 21:41:08 +0000 (22:41 +0100)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/p4-fast-export.py

index 133447c4e7a8c367a9e311649cde4756afd4d88b..72e01224bf3d75e697479a59b4c2a7d50bab1c81 100644 (file)
@@ -35,6 +35,9 @@ try:
 except ValueError:
     changeRange = ""
 
+if prefix.endswith("..."):
+    prefix = prefix[:-3]
+
 if not prefix.endswith("/"):
     prefix += "/"