Mercurial > evolve
comparison hgext3rd/pullbundle.py @ 4149:4abec3a1208f
pullbundle: fix style warning
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 26 Sep 2018 19:17:04 +0200 |
parents | 5ef93dbace5e |
children | 03c3206f44f3 |
comparison
equal
deleted
inserted
replaced
4148:5ef93dbace5e | 4149:4abec3a1208f |
---|---|
191 allslices = [] | 191 allslices = [] |
192 missingheads = [rev(n) for n in sorted(outgoing.missingheads, reverse=True)] | 192 missingheads = [rev(n) for n in sorted(outgoing.missingheads, reverse=True)] |
193 for head in missingheads: | 193 for head in missingheads: |
194 localslices = [] | 194 localslices = [] |
195 localmissing = set(repo.revs('%ld and ::%d', missingrevs, head)) | 195 localmissing = set(repo.revs('%ld and ::%d', missingrevs, head)) |
196 thisrunmissing = localmissing.copy() | 196 thisrunmissing = localmissing.copy() |
197 while localmissing: | 197 while localmissing: |
198 slicerevs = [] | 198 slicerevs = [] |
199 for r in revsort.walkfrom(repo, head): | 199 for r in revsort.walkfrom(repo, head): |
200 if r not in thisrunmissing: | 200 if r not in thisrunmissing: |
201 break | 201 break |