diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-14 06:12:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-14 06:12:54 +0000 |
commit | 8330a4066ef7e61d61cc3a617e35a25fa064a668 (patch) | |
tree | f4339494101f43daf68654650c6dd5943868cdbe | |
parent | 3da5761ca45a9c9aa4f0e73d385d2d2e53d85991 (diff) | |
download | portage-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-x | bin/repoman | 5 |
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": |