mercurial/ancestor.py
changeset 43969 68b09ebf1c13
parent 43968 5ce6daa67658
child 44452 9d2b2df2c2ba
--- a/mercurial/ancestor.py	Fri Dec 27 13:05:22 2019 -0500
+++ b/mercurial/ancestor.py	Fri Dec 27 13:11:22 2019 -0500
@@ -108,12 +108,12 @@
                 if p == nullrev:
                     continue
                 dp = depth[p]
-                nsp = sp = seen[p]
+                sp = seen[p]
                 if dp <= dv:
                     depth[p] = dv + 1
                     if sp != sv:
                         interesting[sv] += 1
-                        nsp = seen[p] = sv
+                        seen[p] = sv
                         if sp:
                             interesting[sp] -= 1
                             if interesting[sp] == 0: