diff mercurial/localrepo.py @ 2478:287b7da4aeaa

fix bug in localrepo.changes. caused by 1e32e2fe8a677c391049d40b8794478976a0a914.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Wed, 21 Jun 2006 16:20:21 -0700
parents 7a77934ece46
children ffde9eb23f59
line wrap: on
line diff
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -617,6 +617,7 @@ class localrepository(object):
                     del mf[fn]
             return mf
 
+        modified, added, removed, deleted, unknown, ignored = [],[],[],[],[],[]
         compareworking = False
         if not node1 or node1 == self.dirstate.parents()[0]:
             compareworking = True