mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[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:
4
.github/scripts/gitutils.py
vendored
4
.github/scripts/gitutils.py
vendored
@ -200,7 +200,9 @@ class GitRepo:
|
|||||||
# which creates a tracking problem
|
# which creates a tracking problem
|
||||||
if (
|
if (
|
||||||
"pytorch/pytorch" not in self.remote_url() or
|
"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}")
|
raise RuntimeError(f"Unexpected differences between {frc} and {toc}")
|
||||||
from_commits.remove(frc.commit_hash)
|
from_commits.remove(frc.commit_hash)
|
||||||
|
Reference in New Issue
Block a user