Show More
@@ -2406,10 +2406,10 b' def _mapbynodefunc(repo, s, f):' | |||||
2406 | filtering. |
|
2406 | filtering. | |
2407 | """ |
|
2407 | """ | |
2408 | cl = repo.unfiltered().changelog |
|
2408 | cl = repo.unfiltered().changelog | |
2409 | torev = cl.rev |
|
2409 | torev = cl.index.get_rev | |
2410 | tonode = cl.node |
|
2410 | tonode = cl.node | |
2411 | nodemap = cl.nodemap |
|
2411 | result = set(torev(n) for n in f(tonode(r) for r in s)) | |
2412 | result = set(torev(n) for n in f(tonode(r) for r in s) if n in nodemap) |
|
2412 | result.discard(None) | |
2413 | return smartset.baseset(result - repo.changelog.filteredrevs) |
|
2413 | return smartset.baseset(result - repo.changelog.filteredrevs) | |
2414 |
|
2414 | |||
2415 |
|
2415 |
General Comments 0
You need to be logged in to leave comments.
Login now