regress for new backout/cherrypick logmsg references
commit7c82d1d5588eee8ccc87b8258d5aa8d59f460a68
authorMark Jamsek <mark@jamsek.dev>
Sat, 28 Jan 2023 04:24:55 +0000 (28 04:24 +0000)
committerThomas Adam <thomas@xteddy.org>
Sat, 28 Jan 2023 15:18:01 +0000 (28 15:18 +0000)
tree643ad3c6da4555792b832189c600954316837b8f
parentf6cd0243250112471da1212a1549007367cc32a7
regress for new backout/cherrypick logmsg references

Tests only cover the -lX interface to list and delete logmsg refs created
by previous backout and cherrypick operations. Further tests are needed
for revert and commit coverage to ensure that the correct log messages of
bo/cy commits are loaded into the editor when 'got commit' is run, and that
only the refs used to populate the editor for the new commit are deleted.
Potential printf issues observed by op remain in the diff; noted here as a
reminder to do a sweep at some point in the future as there are other such
instances in cherrypick.sh and possibly elsewhere in regress.

Reviewed as part of previous commit introducing logmsg ref support for
backed-out/cherrypicked commits.

ok stsp@
regress/cmdline/backout.sh
regress/cmdline/cherrypick.sh