D7289: branchmap: always copy closednodes to a set
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Nov 14 03:51:00 UTC 2019
durin42 updated this revision to Diff 18063.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7289?vs=17659&id=18063
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7289/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7289
AFFECTED FILES
mercurial/branchmap.py
CHANGE DETAILS
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
--- a/mercurial/branchmap.py
+++ b/mercurial/branchmap.py
@@ -177,7 +177,7 @@
if closednodes is None:
self._closednodes = set()
else:
- self._closednodes = closednodes
+ self._closednodes = set(closednodes)
self._entries = dict(entries)
# whether closed nodes are verified or not
self._closedverified = False
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list