public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] portage r11760 - main/trunk/bin
@ 2008-10-31  4:01 99% Zac Medico (zmedico)
  0 siblings, 0 replies; 1+ results
From: Zac Medico (zmedico) @ 2008-10-31  4:01 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-10-31 04:01:49 +0000 (Fri, 31 Oct 2008)
New Revision: 11760

Modified:
   main/trunk/bin/repoman
Log:
Fix broken stuff to avoid tracebacks when running in commit mode with
--pretend and no vcs.


Modified: main/trunk/bin/repoman
===================================================================
--- main/trunk/bin/repoman	2008-10-31 03:46:22 UTC (rev 11759)
+++ main/trunk/bin/repoman	2008-10-31 04:01:49 UTC (rev 11760)
@@ -750,6 +750,8 @@
 modified_changelogs = set()
 mychanged = []
 mynew = []
+myremoved = []
+
 if vcs == "cvs":
 	mycvstree = cvstree.getentries("./", recursive=1)
 	mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")
@@ -1815,7 +1817,8 @@
 		unameout += platform.processor()
 	else:
 		unameout += platform.machine()
-	commitmessage+="\n(Portage version: "+str(portage_version)+"/"+vcs+"/"+unameout
+	commitmessage += "\n(Portage version: %s/%s/%s" % \
+		(portage_version, vcs, unameout)
 	if options.force:
 		commitmessage += ", RepoMan options: --force"
 	commitmessage += ")"




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-10-31  4:01 99% [gentoo-commits] portage r11760 - main/trunk/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox