| Index: infra/services/gsubtreed/test/gsubtreed_test.expected/multiple_runs.yaml
|
| diff --git a/infra/services/gsubtreed/test/gsubtreed_test.expected/multiple_runs.yaml b/infra/services/gsubtreed/test/gsubtreed_test.expected/multiple_runs.yaml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ce96d40eb6941a563db2e287b08d94d496917399
|
| --- /dev/null
|
| +++ b/infra/services/gsubtreed/test/gsubtreed_test.expected/multiple_runs.yaml
|
| @@ -0,0 +1,183 @@
|
| +- - all set up
|
| + - origin:
|
| + refs/heads/master:
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_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''), ''92c96f11ffe418019c661a1dc933bfca0f6920e3'')'
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/other'')'
|
| + - 'INFO: starting with tree git2.INVALID'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''e213bc0ab9d92e8d6fcd9167d1db625516946de5'')'
|
| + - 'INFO: found new tree ''21890050477c9313c9a5447ba40a13dfc2c350d0'''
|
| + - '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''), ''92c96f11ffe418019c661a1dc933bfca0f6920e3'')'
|
| + - 'INFO: found new tree ''ecfc7ffa538dd28d3e6fbfc95fa0352057a1e153'''
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/other'')'
|
| + - 'INFO: starting with tree git2.INVALID'
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''e213bc0ab9d92e8d6fcd9167d1db625516946de5'')'
|
| + - 'INFO: found new tree ''b0ab517a48c5630896e7ed629baea93b19c5076d'''
|
| +- inner_loop success: true
|
| + processed:
|
| + mirrored_path: 2
|
| + mirrored_path/subpath: 1
|
| +- - lots refs
|
| + - origin:
|
| + refs/heads/master:
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-processed/mirrored_path/-/heads/master:
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/subtree-processed/mirrored_path/-/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/master:
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-synthesized/mirrored_path/-/heads/master:
|
| + a4a9b80c8bd01662e27e3bec46fac3ba32202c72:
|
| + - nerd_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: 92c96f11ffe418019c661a1dc933bfca0f6920e3'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + refs/subtree-synthesized/mirrored_path/-/heads/other:
|
| + 86b972267147993c79fedb58321ce380fde25f0f:
|
| + - what_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e213bc0ab9d92e8d6fcd9167d1db625516946de5'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + refs/subtree-synthesized/mirrored_path/subpath/-/heads/other:
|
| + a87db120a6fa09045d11114581d266936f4368ab:
|
| + - what_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e213bc0ab9d92e8d6fcd9167d1db625516946de5'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path/subpath'
|
| +- - added new_commit
|
| + - origin:
|
| + refs/heads/master:
|
| + e94f16776be3436ecc0e74520b79d38a8b383b69:
|
| + - new_commit
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-processed/mirrored_path/-/heads/master:
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/subtree-processed/mirrored_path/-/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/master:
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-synthesized/mirrored_path/-/heads/master:
|
| + a4a9b80c8bd01662e27e3bec46fac3ba32202c72:
|
| + - nerd_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: 92c96f11ffe418019c661a1dc933bfca0f6920e3'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + refs/subtree-synthesized/mirrored_path/-/heads/other:
|
| + 86b972267147993c79fedb58321ce380fde25f0f:
|
| + - what_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e213bc0ab9d92e8d6fcd9167d1db625516946de5'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + refs/subtree-synthesized/mirrored_path/subpath/-/heads/other:
|
| + a87db120a6fa09045d11114581d266936f4368ab:
|
| + - what_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e213bc0ab9d92e8d6fcd9167d1db625516946de5'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path/subpath'
|
| +- 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''), ''e94f16776be3436ecc0e74520b79d38a8b383b69'')'
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/other'')'
|
| + - 'INFO: starting with tree ''21890050477c9313c9a5447ba40a13dfc2c350d0'''
|
| + - 'INFO: processing path mirrored_path'
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/master'')'
|
| + - 'INFO: starting with tree ''ecfc7ffa538dd28d3e6fbfc95fa0352057a1e153'''
|
| + - 'INFO: processing commit Commit(TestRepo(''local''), ''e94f16776be3436ecc0e74520b79d38a8b383b69'')'
|
| + - 'INFO: found new tree ''36d5f31d83dc46f1dd7f52c8f5282a82fed22965'''
|
| + - 'INFO: processing ref Ref(TestRepo(''local''), ''refs/heads/other'')'
|
| + - 'INFO: starting with tree ''b0ab517a48c5630896e7ed629baea93b19c5076d'''
|
| +- inner_loop success: true
|
| + processed:
|
| + mirrored_path: 1
|
| + mirrored_path/subpath: 0
|
| +- - should gain new synthed commit
|
| + - origin:
|
| + refs/heads/master:
|
| + e94f16776be3436ecc0e74520b79d38a8b383b69:
|
| + - new_commit
|
| + 92c96f11ffe418019c661a1dc933bfca0f6920e3:
|
| + - nerd_commit
|
| + refs/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-processed/mirrored_path/-/heads/master:
|
| + e94f16776be3436ecc0e74520b79d38a8b383b69:
|
| + - new_commit
|
| + etc: '...'
|
| + refs/subtree-processed/mirrored_path/-/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/master:
|
| + e94f16776be3436ecc0e74520b79d38a8b383b69:
|
| + - new_commit
|
| + etc: '...'
|
| + refs/subtree-processed/mirrored_path/subpath/-/heads/other:
|
| + e213bc0ab9d92e8d6fcd9167d1db625516946de5:
|
| + - what_commit
|
| + refs/subtree-synthesized/mirrored_path/-/heads/master:
|
| + 4c8c38a9fbe8a301dd908bdb5e5480357695eac0:
|
| + - new_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e94f16776be3436ecc0e74520b79d38a8b383b69'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + a4a9b80c8bd01662e27e3bec46fac3ba32202c72:
|
| + - nerd_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: 92c96f11ffe418019c661a1dc933bfca0f6920e3'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + refs/subtree-synthesized/mirrored_path/-/heads/other:
|
| + 86b972267147993c79fedb58321ce380fde25f0f:
|
| + - what_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e213bc0ab9d92e8d6fcd9167d1db625516946de5'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path'
|
| + refs/subtree-synthesized/mirrored_path/subpath/-/heads/other:
|
| + a87db120a6fa09045d11114581d266936f4368ab:
|
| + - what_commit
|
| + - ''
|
| + - 'Cr-Mirrored-From: [FILE-URL]'
|
| + - 'Cr-Mirrored-Commit: e213bc0ab9d92e8d6fcd9167d1db625516946de5'
|
| + - 'Cr-Mirrored-Subtree: mirrored_path/subpath'
|
|
|