diff --git a/p4-fast-export.py b/p4-fast-export.py index 133447c..72e0122 100644 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -35,6 +35,9 @@ try: except ValueError: changeRange = "" +if prefix.endswith("..."): + prefix = prefix[:-3] + if not prefix.endswith("/"): prefix += "/"