-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
megarepo_api: don't derive filenodes while building megarepo commits
Summary: The filenodes derived data type only applies to public commits. Ordinarily it is a no-op when attempted on a draft commit, however derivation batching can fail if it discovers that the parent of a batch root is not derived. Don't even try to derive filenodes for these commits. The derivation will happen for real when the bookmark is moved to the head commit and the ancestors all become public. Reviewed By: gustavoavena Differential Revision: D66507350 fbshipit-source-id: 6c4717469949aee709e7ec0e939596b2596699c1
- Loading branch information
1 parent
f19c2ab
commit 903281b
Showing
2 changed files
with
10 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters