Fix --amend and --replace for api-review-gen
We can use fixup! commits for the former; for the latter, we need to
move the old branch aside, only deleting it when we're finished, so
that we can look up each commit's prior Change-Id as we record it.
Fixes: QTQAINFRA-5757
Change-Id: I3d674133b4c2e27357ca89f9b72ce2b15bb3ea9a
Reviewed-by: Daniel Smith <daniel.smith@qt.io>
| commit | a4934f9b9dc7da825a30c94b8686e6e85e391183 |
| parent | e1de0afea9cea25390283a59b73b6464ba80b2db |
| author | Edward Welbourne <edward.welbourne@qt.io> |
| committer | Edward Welbourne <edward.welbourne@qt.io> |
| commit time | Thu, 21 Mar 2024 13:25:50 +0100 |