Commit af2898c
committed
Print context ref if available
When specifying the expected fixed ref, we should print out the context ref in the log message if it's available.
Example of new message:
`Not migrating ref refs/heads/master, its fixed ref 831870a15a17cca4152ffde5c8a3ebc535c68ab0 did not match the expected fixed ref 711abb4fa89be8c77717e105e61eba5c20db4d81.`
BUG=380307584
PiperOrigin-RevId: 743653731
Change-Id: I3d4ca751596b8307ed27b24ca739f927c3a80d431 parent 48f3794 commit af2898c
File tree
2 files changed
+5
-2
lines changed- javatests/com/google/copybara
- java/com/google/copybara
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
347 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| |||
0 commit comments