summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/fast-import/p4-fast-export.py3
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 += "/"