From: Simon Hausmann Date: Wed, 31 Jan 2007 21:41:08 +0000 (+0100) Subject: Permit calling p4-fast-export with a depot path that has the typical ... wildcard at the end. X-Git-Tag: v1.5.3-rc0~65^2^2~232 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f26037dce365b3e525596c6f0236ab203d87a872 Permit calling p4-fast-export with a depot path that has the typical ... wildcard at the end. Signed-off-by: Simon Hausmann --- 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 @@ except ValueError: changeRange = "" +if prefix.endswith("..."): + prefix = prefix[:-3] + if not prefix.endswith("/"): prefix += "/"