--- a/tests/test-uncommit-interactive.t Thu May 07 01:29:24 2020 +0200
+++ b/tests/test-uncommit-interactive.t Thu May 07 01:29:48 2020 +0200
@@ -178,10 +178,10 @@
f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'}
$ hg obslog
@ 678a59e5ff90 (3) another one
+ | amended(content) from f70fb463d5bf using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
+ | note: note on amend --extract
|
x f70fb463d5bf (1) another one
- amended(content) as 678a59e5ff90 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
- note: note on amend --extract
The unselected part should be in the diff
-----------------------------------------
@@ -318,14 +318,14 @@
678a59e5ff90754d5e94719bd82ad169be773c21 46e35360be473bf761bedf3d05de4a68ffd9d9f8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'testing uncommit on dirty wdir', 'operation': 'uncommit', 'user': 'test'}
$ hg obslog
@ 46e35360be47 (5) another one
+ | amended(content) from 678a59e5ff90 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
+ | note: testing uncommit on dirty wdir
|
x 678a59e5ff90 (3) another one
- | amended(content) as 46e35360be47 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
- | note: testing uncommit on dirty wdir
+ | amended(content) from f70fb463d5bf using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
+ | note: note on amend --extract
|
x f70fb463d5bf (1) another one
- amended(content) as 678a59e5ff90 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
- note: note on amend --extract
Push the changes back to the commit and more commits for more testing