Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11760 - main/trunk/bin
Date: Fri, 31 Oct 2008 04:01:52
Message-Id: E1KvlCn-0008Kg-Rp@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-10-31 04:01:49 +0000 (Fri, 31 Oct 2008)
3 New Revision: 11760
4
5 Modified:
6 main/trunk/bin/repoman
7 Log:
8 Fix broken stuff to avoid tracebacks when running in commit mode with
9 --pretend and no vcs.
10
11
12 Modified: main/trunk/bin/repoman
13 ===================================================================
14 --- main/trunk/bin/repoman 2008-10-31 03:46:22 UTC (rev 11759)
15 +++ main/trunk/bin/repoman 2008-10-31 04:01:49 UTC (rev 11760)
16 @@ -750,6 +750,8 @@
17 modified_changelogs = set()
18 mychanged = []
19 mynew = []
20 +myremoved = []
21 +
22 if vcs == "cvs":
23 mycvstree = cvstree.getentries("./", recursive=1)
24 mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")
25 @@ -1815,7 +1817,8 @@
26 unameout += platform.processor()
27 else:
28 unameout += platform.machine()
29 - commitmessage+="\n(Portage version: "+str(portage_version)+"/"+vcs+"/"+unameout
30 + commitmessage += "\n(Portage version: %s/%s/%s" % \
31 + (portage_version, vcs, unameout)
32 if options.force:
33 commitmessage += ", RepoMan options: --force"
34 commitmessage += ")"