Submitter | Siddharth Agarwal |
---|---|
Date | July 25, 2013, 11:08 p.m. |
Message ID | <9324b72460bba1e66885.1374793694@dev1091.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/1969/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/parsers.c b/mercurial/parsers.c --- a/mercurial/parsers.c +++ b/mercurial/parsers.c @@ -1362,10 +1362,10 @@ if (nsp == sp) continue; seen[p] = nsp; + interesting[sp] -= 1; + if (interesting[sp] == 0 && interesting[nsp] > 0) + ninteresting -= 1; interesting[nsp] += 1; - interesting[sp] -= 1; - if (interesting[sp] == 0) - ninteresting -= 1; } } interesting[sv] -= 1;