evolve: fix creation of prunedchildren for merge
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 24 Feb 2014 19:00:04 -0800
changeset 808 81a3d9a24e6b
parent 807 4dd1cda16fd0
child 809 5d3ddede6ccf
evolve: fix creation of prunedchildren for merge The `p2` code path was broken. (stupid typo)
hgext/evolve.py
--- a/hgext/evolve.py	Thu Feb 20 13:59:49 2014 -0800
+++ b/hgext/evolve.py	Mon Feb 24 19:00:04 2014 -0800
@@ -344,7 +344,7 @@
                     p1 = node.bin(meta['p1'])
                     self.prunedchildren.setdefault(p1, set()).add(m)
                 if 'p2' in meta:
-                    p1 = node.bin(meta['p2'])
+                    p2 = node.bin(meta['p2'])
                     self.prunedchildren.setdefault(p2, set()).add(m)
             yield m