summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 22568ab38..d762d4a6f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1878,6 +1878,11 @@ else:
print green("------------------------------------------------------------------------------")
print
+ # Having a leading ./ prefix on file paths can trigger a bug in
+ # the cvs server when committing files to multiple directories,
+ # so strip the prefix.
+ myfiles = [f.lstrip("./") for f in myfiles]
+
retval = None
if options.pretend:
if vcs == "cvs":