)]}'
{
  "commit": "1729aaebaed8912cec20e5191d961400c08e98b1",
  "tree": "dd79e3469727929b249e492e0819f2408a2f8851",
  "parents": [
    "978adb7ea504ae5c9238d03cea63f916035765c4"
  ],
  "author": {
    "name": "Ajay Gupta",
    "email": "ajagup@qti.qualcomm.com",
    "time": "Fri Apr 17 12:43:57 2026 +0530"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jul 16 11:51:00 2026 -0700"
  },
  "message": "project: Skip superproject upstream check for MetaProjects\n\nThe superproject-gated upstream check in _CheckForImmutableRevision\nonly applies to user projects listed in the manifest. MetaProjects\n(ManifestProject and RepoProject) never participate in a superproject\nrelationship, so evaluating git_superproject.UseSuperproject(...,\nself.manifest) for them serves no purpose and, worse, calls the\nmanifest.superproject property which forces a manifest load.\n\nDuring repo init, ManifestProject._ConfigureDependencies calls\nself.Sync_NetworkHalf before manifest.xml has been linked into\n.repo/. That reaches _CheckForImmutableRevision, which triggered the\nmanifest load and failed with:\n\n  ManifestParseError: .../.repo/manifest.xml: [Errno 2] No such file\n  or directory\n\nbreaking fresh repo init with SHA-based --manifest-branch combined\nwith --manifest-upstream-branch.\n\nFactor the \"should we consult the superproject for upstream?\"\ndecision into a small overridable hook, _UseSuperprojectForUpstream.\nProject\u0027s default delegates to git_superproject.UseSuperproject;\nMetaProject overrides it to return False, localizing the\nMetaProject-specific behavior to MetaProject.\n\nTest verifies that calling _CheckForImmutableRevision on a\nManifestProject whose manifest.xml is not yet on disk returns False\nwithout raising and does not create the file.\n\nChange-Id: I22059109243d914036c06c6fe0081a5aba05da89\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/574201\nReviewed-by: Gavin Mak \u003cgavinmak@google.com\u003e\nCommit-Queue: Ajay Gupta \u003cajagup@qti.qualcomm.com\u003e\nTested-by: Ajay Gupta \u003cajagup@qti.qualcomm.com\u003e\nReviewed-by: Mike Frysinger \u003cvapier@google.com\u003e\nReviewed-by: Nasser Grainawi \u003cnasser.grainawi@oss.qualcomm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "649196b016e4804314157a44d87a623a583a9050",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "b81fcd5f0c9ad35de6e13cee643ff495538ba9bb",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "ea7571030171e8002887847413abf5ac61d86b8b",
      "old_mode": 33188,
      "old_path": "tests/test_project.py",
      "new_id": "1ebeb85d7128ca150f3f902cf7168fc757201717",
      "new_mode": 33188,
      "new_path": "tests/test_project.py"
    }
  ]
}
