From bbe9a864211a458ce530dc69003ef2b009016fbd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Nov 2008 06:16:21 +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. (trunk r11896) svn path=/main/branches/2.1.6/; revision=11897 --- bin/repoman | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index a431d293..48a41385 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-65-gdbad