From: Zac Medico Date: Mon, 30 Jun 2008 21:54:20 +0000 (-0000) Subject: Bug #230245 - Use os.path.basename() on paths returned from `svn list` X-Git-Tag: v2.2_rc2~266 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f69c3b0865cb6e7433644681663e15c0b18f89f0;p=portage.git Bug #230245 - Use os.path.basename() on paths returned from `svn list` and `svn status`. svn path=/main/trunk/; revision=10859 --- diff --git a/bin/repoman b/bin/repoman index 55a8a301f..b0c44ddb1 100755 --- a/bin/repoman +++ b/bin/repoman @@ -889,7 +889,7 @@ for x in scanlist: if l[-1:] == "/": continue if l[-7:] == ".ebuild": - eadded.append(l[:-7]) + eadded.append(os.path.basename(l[:-7])) if vcs == "svn": myf = os.popen("svn status " + checkdir) myl=myf.readlines() @@ -898,7 +898,7 @@ for x in scanlist: if l[0] == "A": l = l.rstrip().split(' ')[-1] if l[-7:] == ".ebuild": - eadded.append(l[:-7]) + eadded.append(os.path.basename(l[:-7])) except IOError: if options.mode == 'commit' and vcs == "cvs": stats["CVS/Entries.IO_error"] += 1