mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
revset-_hexlist: remove usage of set()
All smartset classes have fast lookup, so this function will be removed soon.
This commit is contained in:
parent
76a0476bf7
commit
a54d940320
@ -1675,7 +1675,7 @@ def _hexlist(repo, subset, x):
|
||||
return baseset()
|
||||
cl = repo.changelog
|
||||
ls = [cl.rev(node.bin(r)) for r in s.split('\0')]
|
||||
s = subset.set()
|
||||
s = subset
|
||||
return baseset([r for r in ls if r in s])
|
||||
|
||||
symbols = {
|
||||
|
Loading…
Reference in New Issue
Block a user