# HG changeset patch # User Anton Shestakov # Date 1706984637 10800 # Node ID 3acf490580bbc3d4743a3a3e002975981bbaea6c # Parent 79ffeb56fcfa1d4406c533bc95491bfc4413b8b9 tests: show uncommit_source in test-uncommit-interactive.t diff -r 79ffeb56fcfa -r 3acf490580bb tests/test-uncommit-interactive.t --- a/tests/test-uncommit-interactive.t Sat Feb 03 14:38:37 2024 -0300 +++ b/tests/test-uncommit-interactive.t Sat Feb 03 15:23:57 2024 -0300 @@ -176,6 +176,9 @@ $ hg debugobsolete e9635f4beaf11f64a07ccc74684092b144c53d89 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'} f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'} + $ hg log -l 2 -T '{rev}:{node|short} {join(extras, " ")}\n' --hidden + 3:678a59e5ff90 branch=default uncommit_source=f70fb463d5bf + 2:e9635f4beaf1 branch=default uncommit_source=f70fb463d5bf $ hg obslog @ 678a59e5ff90 (3) another one | amended(content) from f70fb463d5bf using uncommit by test (Thu Jan 01 00:00:00 1970 +0000) @@ -316,6 +319,11 @@ f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'} 7ca9935a62f11b39b60c7fb8861377c7d45b3e99 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'} 678a59e5ff90754d5e94719bd82ad169be773c21 ef651ea03f873a6d70aeeb9ac351d4f65c84fb3b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'testing uncommit on dirty wdir', 'operation': 'uncommit', 'user': 'test'} + $ hg log -l 4 -T '{rev}:{node|short} {join(extras, " ")}\n' --hidden + 5:ef651ea03f87 branch=default uncommit_source=678a59e5ff90 + 4:7ca9935a62f1 branch=default uncommit_source=678a59e5ff90 + 3:678a59e5ff90 branch=default uncommit_source=f70fb463d5bf + 2:e9635f4beaf1 branch=default uncommit_source=f70fb463d5bf $ hg obslog @ ef651ea03f87 (5) another one | amended(content) from 678a59e5ff90 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)