Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 17520:dfbcf23582e1
spelling: supersede
author | timeless@mozdev.org |
---|---|
date | Fri, 17 Aug 2012 13:58:19 -0700 |
parents | eabb9a047502 |
children | 6a78548eaa86 |
comparison
equal
deleted
inserted
replaced
17519:d8d2856a0c7f | 17520:dfbcf23582e1 |
---|---|
730 iterrevs = sorted(newheadrevs) | 730 iterrevs = sorted(newheadrevs) |
731 else: | 731 else: |
732 iterrevs = list(bheadrevs) | 732 iterrevs = list(bheadrevs) |
733 | 733 |
734 # This loop prunes out two kinds of heads - heads that are | 734 # This loop prunes out two kinds of heads - heads that are |
735 # superceded by a head in newheadrevs, and newheadrevs that are not | 735 # superseded by a head in newheadrevs, and newheadrevs that are not |
736 # heads because an existing head is their descendant. | 736 # heads because an existing head is their descendant. |
737 while iterrevs: | 737 while iterrevs: |
738 latest = iterrevs.pop() | 738 latest = iterrevs.pop() |
739 if latest not in bheadrevs: | 739 if latest not in bheadrevs: |
740 continue | 740 continue |