comparison tests/test-uncommit-interactive.t @ 6671:3acf490580bb stable

tests: show uncommit_source in test-uncommit-interactive.t
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 03 Feb 2024 15:23:57 -0300
parents a77b939c79e1
children e2fbec28654c
comparison
equal deleted inserted replaced
6670:79ffeb56fcfa 6671:3acf490580bb
174 174
175 175
176 $ hg debugobsolete 176 $ hg debugobsolete
177 e9635f4beaf11f64a07ccc74684092b144c53d89 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'} 177 e9635f4beaf11f64a07ccc74684092b144c53d89 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'}
178 f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'} 178 f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'}
179 $ hg log -l 2 -T '{rev}:{node|short} {join(extras, " ")}\n' --hidden
180 3:678a59e5ff90 branch=default uncommit_source=f70fb463d5bf
181 2:e9635f4beaf1 branch=default uncommit_source=f70fb463d5bf
179 $ hg obslog 182 $ hg obslog
180 @ 678a59e5ff90 (3) another one 183 @ 678a59e5ff90 (3) another one
181 | amended(content) from f70fb463d5bf using uncommit by test (Thu Jan 01 00:00:00 1970 +0000) 184 | amended(content) from f70fb463d5bf using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
182 | note: note on amend --extract 185 | note: note on amend --extract
183 | 186 |
314 $ hg debugobsolete 317 $ hg debugobsolete
315 e9635f4beaf11f64a07ccc74684092b144c53d89 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'} 318 e9635f4beaf11f64a07ccc74684092b144c53d89 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'}
316 f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'} 319 f70fb463d5bf9f0ffd38f105521d96e9f2591bc1 678a59e5ff90754d5e94719bd82ad169be773c21 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'note on amend --extract', 'operation': 'uncommit', 'user': 'test'}
317 7ca9935a62f11b39b60c7fb8861377c7d45b3e99 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'} 320 7ca9935a62f11b39b60c7fb8861377c7d45b3e99 0 {7733902a8d94c789ca81d866bea1893d79442db6} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'uncommit', 'user': 'test'}
318 678a59e5ff90754d5e94719bd82ad169be773c21 ef651ea03f873a6d70aeeb9ac351d4f65c84fb3b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'testing uncommit on dirty wdir', 'operation': 'uncommit', 'user': 'test'} 321 678a59e5ff90754d5e94719bd82ad169be773c21 ef651ea03f873a6d70aeeb9ac351d4f65c84fb3b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'testing uncommit on dirty wdir', 'operation': 'uncommit', 'user': 'test'}
322 $ hg log -l 4 -T '{rev}:{node|short} {join(extras, " ")}\n' --hidden
323 5:ef651ea03f87 branch=default uncommit_source=678a59e5ff90
324 4:7ca9935a62f1 branch=default uncommit_source=678a59e5ff90
325 3:678a59e5ff90 branch=default uncommit_source=f70fb463d5bf
326 2:e9635f4beaf1 branch=default uncommit_source=f70fb463d5bf
319 $ hg obslog 327 $ hg obslog
320 @ ef651ea03f87 (5) another one 328 @ ef651ea03f87 (5) another one
321 | amended(content) from 678a59e5ff90 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000) 329 | amended(content) from 678a59e5ff90 using uncommit by test (Thu Jan 01 00:00:00 1970 +0000)
322 | note: testing uncommit on dirty wdir 330 | note: testing uncommit on dirty wdir
323 | 331 |