From: Zac Medico Date: Fri, 31 Oct 2008 04:01:49 +0000 (-0000) Subject: Fix broken stuff to avoid tracebacks when running in commit mode with X-Git-Tag: v2.2_rc13~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af4ab1375d0cd17b8d8c0e86d32236ef5daab898;p=portage.git Fix broken stuff to avoid tracebacks when running in commit mode with --pretend and no vcs. svn path=/main/trunk/; revision=11760 --- 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 += ")"