summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-31 04:01:49 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-31 04:01:49 +0000
commitaf4ab1375d0cd17b8d8c0e86d32236ef5daab898 (patch)
treef2b4e9315adb11cb1c07a0fc5974441dd1f43593
parent96f110182b1cda28c60e42676a7b1c9084860a2d (diff)
downloadportage-af4ab1375d0cd17b8d8c0e86d32236ef5daab898.tar.gz
portage-af4ab1375d0cd17b8d8c0e86d32236ef5daab898.tar.bz2
portage-af4ab1375d0cd17b8d8c0e86d32236ef5daab898.zip
Fix broken stuff to avoid tracebacks when running in commit mode with
--pretend and no vcs. svn path=/main/trunk/; revision=11760
-rwxr-xr-xbin/repoman5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 98187970d..fd5d8a68d 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -750,6 +750,8 @@ new_ebuilds = set()
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 @@ else:
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 += ")"