| Index: infra/services/gsubtreed/test/gsubtreed_test.expected/mirrored_path_is_a_file.yaml
|
| diff --git a/infra/services/gsubtreed/test/gsubtreed_test.expected/mirrored_path_is_a_file.yaml b/infra/services/gsubtreed/test/gsubtreed_test.expected/mirrored_path_is_a_file.yaml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f977abfa71f82f5ba825ef944a4f69d35a1d38df
|
| --- /dev/null
|
| +++ b/infra/services/gsubtreed/test/gsubtreed_test.expected/mirrored_path_is_a_file.yaml
|
| @@ -0,0 +1,74 @@
|
| +- - repo is set up
|
| + - origin:
|
| + refs/heads/master:
|
| + ab1dbcd7cff198979ff11618603f97846a5f4931:
|
| + - back to a dir
|
| + 3f96fe56937903ad7158825d1d6cd20e20250c71:
|
| + - now it's a file again
|
| + 7a36651d95201b93b7774ad9427b2f93164a2567:
|
| + - but now it's OK
|
| + c9511a69beb0196ade7d78d062abeebf7e43de39:
|
| + - bad subtree
|
| + 59583d0d2eb66379a46d2d0a2dc33d6d0a1e417d:
|
| + - first commit
|
| +- log output:
|
| + - 'INFO: processing path mirrored_path/subpath'
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/master'')'
|
| + - 'INFO: starting with tree git2.INVALID'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''59583d0d2eb66379a46d2d0a2dc33d6d0a1e417d'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''c9511a69beb0196ade7d78d062abeebf7e43de39'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''7a36651d95201b93b7774ad9427b2f93164a2567'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''3f96fe56937903ad7158825d1d6cd20e20250c71'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''ab1dbcd7cff198979ff11618603f97846a5f4931'')'
|
| + - 'INFO: processing path mirrored_path'
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/master'')'
|
| + - 'INFO: starting with tree git2.INVALID'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''59583d0d2eb66379a46d2d0a2dc33d6d0a1e417d'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''c9511a69beb0196ade7d78d062abeebf7e43de39'')'
|
| + - 'WARNING: path ''mirrored_path'' is not a tree in commit Commit(TestRepo(''local''),
|
| + ''c9511a69beb0196ade7d78d062abeebf7e43de39'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''7a36651d95201b93b7774ad9427b2f93164a2567'')'
|
| + - 'INFO: found new tree ''0a44b7ad6fe48e90dc72a6f3cd95e8e646322eab'''
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''3f96fe56937903ad7158825d1d6cd20e20250c71'')'
|
| + - 'WARNING: path ''mirrored_path'' is not a tree in commit Commit(TestRepo(''local''),
|
| + ''3f96fe56937903ad7158825d1d6cd20e20250c71'')'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''ab1dbcd7cff198979ff11618603f97846a5f4931'')'
|
| + - 'INFO: found new tree ''6987dee8db61edb533b23f7d1dd464a43dd027a7'''
|
| +- inner_loop success: true
|
| + processed:
|
| + mirrored_path: 2
|
| + mirrored_path/subpath: 0
|
| +- - should see 2 commits in synthesized
|
| + - origin:
|
| + refs/heads/master:
|
| + ab1dbcd7cff198979ff11618603f97846a5f4931:
|
| + - back to a dir
|
| + 3f96fe56937903ad7158825d1d6cd20e20250c71:
|
| + - now it's a file again
|
| + 7a36651d95201b93b7774ad9427b2f93164a2567:
|
| + - but now it's OK
|
| + c9511a69beb0196ade7d78d062abeebf7e43de39:
|
| + - bad subtree
|
| + 59583d0d2eb66379a46d2d0a2dc33d6d0a1e417d:
|
| + - first commit
|
| + refs/subtree-processed/mirrored_path/-/heads/master:
|
| + ab1dbcd7cff198979ff11618603f97846a5f4931:
|
| + - back to a dir
|
| + etc: '...'
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/master:
|
| + ab1dbcd7cff198979ff11618603f97846a5f4931:
|
| + - back to a dir
|
| + etc: '...'
|
| + refs/subtree-synthesized/mirrored_path/-/heads/master:
|
| + 3e94bd945ba88b21c7499132978e48a4435d3c86:
|
| + - back to a dir
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: ab1dbcd7cff198979ff11618603f97846a5f4931'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + 7c1fd3e1ac9ec13dec18179536ccdf4ce761b863:
|
| + - but now it's OK
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: 7a36651d95201b93b7774ad9427b2f93164a2567'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
|
|