From af4ab1375d0cd17b8d8c0e86d32236ef5daab898 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 31 Oct 2008 04:01:49 +0000 Subject: Fix broken stuff to avoid tracebacks when running in commit mode with --pretend and no vcs. svn path=/main/trunk/; revision=11760 --- bin/repoman | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/repoman') 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 += ")" -- cgit v1.2.3-1-g7c22