Commit Graph

2 Commits

Author SHA1 Message Date
Jun Wu
9703bfb0fe repoview: allow disabling repoview filtering
Summary:
The eventual goal is to disable repoview filtering once narrow-heads is set.

The repoview layer is using a blacklist approach - scan through all heads (or
all drafts), and figure out what to blacklist. The new dag structure has a
larger constant factor on time complexity when it comes to many heads.

This diff disables repoview filtering entirely if 'narrow-heads' gets turned
on, as the first step moving to the whitelist approach. There are other isues,
which will be fixed in upcoming diffs.

Reviewed By: sfilipco

Differential Revision: D17244557

fbshipit-source-id: 260214378abba4b0ecd0a0407d452352b6dc3c28
2019-09-20 13:36:19 -07:00
Jun Wu
35b7e438c4 test-narrow-heads: add a test about narrow-heads issues
Summary: The test contains issues in test-narrow-heads that need fixes.

Reviewed By: sfilipco

Differential Revision: D17244550

fbshipit-source-id: aca6ffa51ab95436a32b3bdf40dbf05a376dbdbe
2019-09-20 13:36:19 -07:00