Make sure mychanged and mynew are always defined even if there is no vcs
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Oct 2008 20:33:57 +0000 (20:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Oct 2008 20:33:57 +0000 (20:33 -0000)
because commit mode is allowed without a vcs in pretend mode.

svn path=/main/trunk/; revision=11753

bin/repoman

index 6902e2e516bcb0275a0dd70b5210d93c20a7f05b..0ea4eece66f1fb4eed8be9c5a0c6da4580b2cf23 100755 (executable)
@@ -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="./")