)]}' { "commit": "6bd89aa6579cb5a108554c392d7d87a6ce978aa8", "tree": "a82f37473cc0a7070b0b77f902c029fe8b3081b2", "parents": [ "9c1fc5bc5d1e78f7794ae0ddfa379b448fcb4b1f" ], "author": { "name": "Raman Tenneti", "email": "rtenneti@google.com", "time": "Tue Nov 16 11:48:09 2021 -0800" }, "committer": { "name": "Raman Tenneti", "email": "rtenneti@google.com", "time": "Thu Nov 18 01:27:41 2021 +0000" }, "message": "superproject: Inherit --no-use-superproject with --mirror option.\n\ninit.py\n+ Similar to opt.archive, gave an error if --mirror option is\n used with --use-superproject.\n\nsync.py\n+ Defaulted to --no-use-superproject if manifest is a mirror or\n archive (similar to error at line# 1067).\n\nTested:\n+ run_tests\n+ flake8 (will fix known errors in another CL).\n\n$ repo_dev init -u sso://googleplex-android.git.corp.google.com/platform/manifest --use-superproject --mirror\nUsage: repo init [options] [manifest url]\n\nmain.py: error: --mirror and --use-superproject cannot be used together.\n\n+ repo init and repo sync with --mirror and without --mirror\n options.\n $ repo_dev init -u https://android.googlesource.com/platform/manifest\n $ repo_dev sync\n ...superproject.git: Initial setup for superproject completed.\n\n+ With --mirror option, verfied there are no exceptions in git_superproject.py\n\nBug: [google internal] b/206537893\nChange-Id: I059f20e76f0ab36f0587f29779bb53ede4663bd4\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/323955\nReviewed-by: Mike Frysinger \u003cvapier@google.com\u003e\nTested-by: Raman Tenneti \u003crtenneti@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "a3f3241a76ef696f663438a3937b9db02bae7216", "old_mode": 33188, "old_path": "subcmds/init.py", "new_id": "1fbe465414256befad199d153b9989f7b2aad491", "new_mode": 33188, "new_path": "subcmds/init.py" }, { "type": "modify", "old_id": "1d778e1e81b2d324623fcef8083ffdc6a35871f4", "old_mode": 33188, "old_path": "subcmds/sync.py", "new_id": "ee7e4a80e34b463dd8c67ba8695ebd0f730ee421", "new_mode": 33188, "new_path": "subcmds/sync.py" } ] }