From 8330a4066ef7e61d61cc3a617e35a25fa064a668 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Nov 2008 06:12:54 +0000 Subject: 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. Thanks to Robin H. Johnson for reporting. svn path=/main/trunk/; revision=11896 --- bin/repoman | 5 +++++ 1 file changed, 5 insertions(+) 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": -- cgit v1.2.3-1-g7c22