Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG73ca1c5e65f8: convcmd: make a copy of heads before mutating it
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
indygreg |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/convert/convcmd.py (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
Augie Fackler | Apr 27 2018, 1:27 AM |
Status | Author | Revision | |
---|---|---|---|
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 |
raise error.Abort(_('splicemap file not found or error reading %s:') | raise error.Abort(_('splicemap file not found or error reading %s:') | ||||
% path) | % path) | ||||
return m | return m | ||||
def walktree(self, heads): | def walktree(self, heads): | ||||
'''Return a mapping that identifies the uncommitted parents of every | '''Return a mapping that identifies the uncommitted parents of every | ||||
uncommitted changeset.''' | uncommitted changeset.''' | ||||
visit = heads | visit = list(heads) | ||||
known = set() | known = set() | ||||
parents = {} | parents = {} | ||||
numcommits = self.source.numcommits() | numcommits = self.source.numcommits() | ||||
while visit: | while visit: | ||||
n = visit.pop(0) | n = visit.pop(0) | ||||
if n in known: | if n in known: | ||||
continue | continue | ||||
if n in self.map: | if n in self.map: |