summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-30 20:33:57 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-30 20:33:57 +0000
commitd366c229c9542ed328c158a4ccb22e065ed22930 (patch)
tree2a4add8665ecf99b2a6eb3b44fca04054d86f618
parent07aa48c574cebac89ffff8f411d51dbdfee5c93b (diff)
downloadportage-d366c229c9542ed328c158a4ccb22e065ed22930.tar.gz
portage-d366c229c9542ed328c158a4ccb22e065ed22930.tar.bz2
portage-d366c229c9542ed328c158a4ccb22e065ed22930.zip
Make sure mychanged and mynew are always defined even if there is no vcs
because commit mode is allowed without a vcs in pretend mode. svn path=/main/trunk/; revision=11753
-rwxr-xr-xbin/repoman2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 6902e2e51..0ea4eece6 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -748,6 +748,8 @@ else:
new_ebuilds = set()
modified_changelogs = set()
+mychanged = []
+mynew = []
if vcs == "cvs":
mycvstree = cvstree.getentries("./", recursive=1)
mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")