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>
maint
Simon Hausmann 2007-01-31 22:41:08 +01:00
parent 2385536282
commit f26037dce3
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ try:
except ValueError: except ValueError:
changeRange = "" changeRange = ""


if prefix.endswith("..."):
prefix = prefix[:-3]

if not prefix.endswith("/"): if not prefix.endswith("/"):
prefix += "/" prefix += "/"