summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-14 06:12:54 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-14 06:12:54 +0000
commit8330a4066ef7e61d61cc3a617e35a25fa064a668 (patch)
treef4339494101f43daf68654650c6dd5943868cdbe
parent3da5761ca45a9c9aa4f0e73d385d2d2e53d85991 (diff)
downloadportage-8330a4066ef7e61d61cc3a617e35a25fa064a668.tar.gz
portage-8330a4066ef7e61d61cc3a617e35a25fa064a668.tar.bz2
portage-8330a4066ef7e61d61cc3a617e35a25fa064a668.zip
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 <robbat2@g.o> for reporting. svn path=/main/trunk/; revision=11896
-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":