skipped is a set of integer revs here. So cast integers to
strings using %d.
None doesn't cast to an empty string on Python 3. So use '' explicitly.
yuja | |
pulkit |
hg-reviewers |
skipped is a set of integer revs here. So cast integers to
strings using %d.
None doesn't cast to an empty string on Python 3. So use '' explicitly.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/rebase.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Needs Revision | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg |
# recompute the set of skipped revs | # recompute the set of skipped revs | ||||
if not collapse: | if not collapse: | ||||
seen = set(destmap.values()) | seen = set(destmap.values()) | ||||
for old, new in sorted(state.items()): | for old, new in sorted(state.items()): | ||||
if new != revtodo and new in seen: | if new != revtodo and new in seen: | ||||
skipped.add(old) | skipped.add(old) | ||||
seen.add(new) | seen.add(new) | ||||
repo.ui.debug('computed skipped revs: %s\n' % | repo.ui.debug('computed skipped revs: %s\n' % | ||||
(' '.join(str(r) for r in sorted(skipped)) or None)) | (' '.join(bytes(r) for r in sorted(skipped)) or '')) | ||||
repo.ui.debug('rebase status resumed\n') | repo.ui.debug('rebase status resumed\n') | ||||
self.originalwd = originalwd | self.originalwd = originalwd | ||||
self.destmap = destmap | self.destmap = destmap | ||||
self.state = state | self.state = state | ||||
self.skipped = skipped | self.skipped = skipped | ||||
self.collapsef = collapse | self.collapsef = collapse | ||||
self.keepf = keep | self.keepf = keep |