Fixed silly bug involving a non-existent variable.
authorEric Hopper <hopper@omnifarious.org>
Tue, 11 Oct 2005 08:06:52 -0700
changeset 1464 00117edce2dd
parent 1463 26e73acc0cdf
child 1465 be6b5ce60b7f
Fixed silly bug involving a non-existent variable.
mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -908,7 +908,7 @@ class localrepository:
         knownheads = knownheads.keys()
         if knownheads:
             has_cl_set, junk, junk = cl.nodesbetween(None, knownheads)
-            has_cl_set = dict.fromkeys(hasnodeset)
+            has_cl_set = dict.fromkeys(has_cl_set)
         else:
             has_cl_set = {}