Fix syncbranches (#76693)

Summary:
Skip
84d9a2e42d
and its revert
f211ec90a6
from syncbranches

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/76693

Reviewed By: osalpekar

Differential Revision: D36079190

Pulled By: malfet

fbshipit-source-id: b9b8e35a27e57c7c3eb79839c2cf4df35e7443bd
(cherry picked from commit bd40bd40db65a0dbb3a43f3c323a4d68dc9406ea)
This commit is contained in:
Nikita Shulga
2022-05-02 14:59:33 -07:00
committed by PyTorch MergeBot
parent 58d773ad29
commit e14f5336c0

View File

@ -219,7 +219,9 @@ class GitRepo:
if "pytorch/pytorch" in self.remote_url():
for excluded_commit in {"8e09e20c1dafcdbdb45c2d1574da68a32e54a3a5",
"5f37e5c2a39c3acb776756a17730b865f0953432",
"b5222584e6d6990c6585981a936defd1af14c0ba"}:
"b5222584e6d6990c6585981a936defd1af14c0ba",
"84d9a2e42d5ed30ec3b8b4140c38dd83abbce88d",
"f211ec90a6cdc8a2a5795478b5b5c8d7d7896f7e"}:
if excluded_commit in from_commits:
from_commits.remove(excluded_commit)