Mercurial > hg-stable
changeset 43974:68b09ebf1c13
ancestor: drop another unused variable assignment
Also caught by PyCharm. The only time this is used is immediately after another
assignment below this.
Differential Revision: https://phab.mercurial-scm.org/D7737
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 13:11:22 -0500 |
parents | 5ce6daa67658 |
children | 3194cc8c8de0 |
files | mercurial/ancestor.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: