[GHF] Manual fix syncbranches (#76200)

Summary:
By excluding 6d0f4a1d545a8f161df459e8d4ccafd4b9017dbe and edf909e58f06150f7be41da2f98a3b9de3167bca (which we re-relanded thrice)

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

Reviewed By: george-qi

Differential Revision: D35828342

Pulled By: malfet

fbshipit-source-id: 27581a3cf00b9eadfff8ccc05b59243439aabb4d
(cherry picked from commit 5c6a502727c022816c682edda7b9cb4c10ed900b)
This commit is contained in:
Nikita Shulga
2022-04-21 15:01:57 -07:00
parent e28ac60dd7
commit b447fa3912

View File

@ -200,7 +200,9 @@ class GitRepo:
# which creates a tracking problem
if (
"pytorch/pytorch" not in self.remote_url() or
frc.commit_hash != "0a6a1b27a464ba5be5f587cce2ee12ab8c504dbf"
frc.commit_hash not in {"0a6a1b27a464ba5be5f587cce2ee12ab8c504dbf",
"6d0f4a1d545a8f161df459e8d4ccafd4b9017dbe",
"edf909e58f06150f7be41da2f98a3b9de3167bca"}
):
raise RuntimeError(f"Unexpected differences between {frc} and {toc}")
from_commits.remove(frc.commit_hash)