From: Zac Medico Date: Fri, 14 Nov 2008 06:16:21 +0000 (-0000) Subject: Having a leading ./ prefix on file paths can trigger a bug in X-Git-Tag: v2.1.6_rc1~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bbe9a864211a458ce530dc69003ef2b009016fbd;p=portage.git 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 --- diff --git a/bin/repoman b/bin/repoman index a431d293b..48a41385c 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":