mercurial/merge.py
branchstable
changeset 11451 51021f4c80b5
parent 11417 6f1d1ed3e19a
child 11454 9b0406b23be0
--- a/mercurial/merge.py	Wed Jun 23 16:54:12 2010 -1000
+++ b/mercurial/merge.py	Sun Jun 27 23:12:05 2010 +0200
@@ -23,15 +23,13 @@
     def _read(self):
         self._state = {}
         try:
-            localnode = None
             f = self._repo.opener("merge/state")
             for i, l in enumerate(f):
                 if i == 0:
-                    localnode = l[:-1]
+                    self._local = bin(l[:-1])
                 else:
                     bits = l[:-1].split("\0")
                     self._state[bits[0]] = bits[1:]
-            self._local = bin(localnode)
         except IOError, err:
             if err.errno != errno.ENOENT:
                 raise