Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r10859 - main/trunk/bin
Date: Mon, 30 Jun 2008 21:54:26
Message-Id: E1KDRKH-0002TQ-93@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-06-30 21:54:20 +0000 (Mon, 30 Jun 2008)
3 New Revision: 10859
4
5 Modified:
6 main/trunk/bin/repoman
7 Log:
8 Bug #230245 - Use os.path.basename() on paths returned from `svn list`
9 and `svn status`.
10
11
12 Modified: main/trunk/bin/repoman
13 ===================================================================
14 --- main/trunk/bin/repoman 2008-06-30 21:51:19 UTC (rev 10858)
15 +++ main/trunk/bin/repoman 2008-06-30 21:54:20 UTC (rev 10859)
16 @@ -889,7 +889,7 @@
17 if l[-1:] == "/":
18 continue
19 if l[-7:] == ".ebuild":
20 - eadded.append(l[:-7])
21 + eadded.append(os.path.basename(l[:-7]))
22 if vcs == "svn":
23 myf = os.popen("svn status " + checkdir)
24 myl=myf.readlines()
25 @@ -898,7 +898,7 @@
26 if l[0] == "A":
27 l = l.rstrip().split(' ')[-1]
28 if l[-7:] == ".ebuild":
29 - eadded.append(l[:-7])
30 + eadded.append(os.path.basename(l[:-7]))
31 except IOError:
32 if options.mode == 'commit' and vcs == "cvs":
33 stats["CVS/Entries.IO_error"] += 1
34
35 --
36 gentoo-commits@l.g.o mailing list