mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
7508e2f81f
Summary: The "filter" set's filter function might not be prepared for inputs outside the parent set. So let's the "contains" function to test against the parent set first, then test the filter function. This fixes the "merge()" set's "contains" check using the revlog backend: In [1]: v=repo.revs('draft() & merge()') In [2]: v._set Out[2]: <meta ?> In [3]: m.node.nullid in v._set Out[3]: False Before this diff it would be: In [3]: m.node.nullid in v._set CommitLookupError: '0000000000000000000000000000000000000000 cannot be found' Note: Segmented changelog backend is not affected because it does not use filter sets. Reviewed By: xavierd Differential Revision: D27657502 fbshipit-source-id: 30bb261fea59bdc5644580e98796f52fa93c2705 |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
Eden.project.toml |