comparison mercurial/tags.py @ 17424:e7cfe3587ea4

fix trivial spelling errors
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 15 Aug 2012 22:38:42 +0200
parents 707cbbf950ea
children cb95716da5fe
comparison
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
122 alltags[name] = nodehist 122 alltags[name] = nodehist
123 tagtypes[name] = tagtype 123 tagtypes[name] = tagtype
124 continue 124 continue
125 125
126 # we prefer alltags[name] if: 126 # we prefer alltags[name] if:
127 # it supercedes us OR 127 # it supersedes us OR
128 # mutual supercedes and it has a higher rank 128 # mutual supersedes and it has a higher rank
129 # otherwise we win because we're tip-most 129 # otherwise we win because we're tip-most
130 anode, ahist = nodehist 130 anode, ahist = nodehist
131 bnode, bhist = alltags[name] 131 bnode, bhist = alltags[name]
132 if (bnode != anode and anode in bhist and 132 if (bnode != anode and anode in bhist and
133 (bnode not in ahist or len(bhist) > len(ahist))): 133 (bnode not in ahist or len(bhist) > len(ahist))):