Mercurial > evolve
changeset 6664:e20841870e51 stable
tests: show extra dict of some changesets to be able to see change
The next changeset will change the extra dict of some of these changesets. To
better see how they change, show them. This will be removed again later.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Thu, 01 Feb 2024 08:29:10 +0100 |
parents | 991d78f5c401 |
children | d2b90c9e5829 |
files | tests/test-uncommit-interactive.t |
diffstat | 1 files changed, 31 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-uncommit-interactive.t Wed Jan 31 14:59:36 2024 -0300 +++ b/tests/test-uncommit-interactive.t Thu Feb 01 08:29:10 2024 +0100 @@ -288,6 +288,9 @@ 5 +babar + $ hg exp -T '{extras|json}\n' + {"branch": "default", "uncommit_source": "f70fb463d5bf"} + $ hg exp # HG changeset patch # User test @@ -331,6 +334,8 @@ Push the changes back to the commit and more commits for more testing $ hg amend + $ hg exp -T '{extras|json}\n' + {"amend_source": "46e35360be473bf761bedf3d05de4a68ffd9d9f8", "branch": "default", "uncommit_source": "f70fb463d5bf"} $ glog @ 6:905eb2a23ea2@default(draft) another one | @@ -370,6 +375,9 @@ @@ -0,0 +1,1 @@ +hey + $ hg exp -T '{extras|json}\n' + {"branch": "default", "uncommit_source": "feb6bcb52f6f"} + $ hg exp # HG changeset patch # User test @@ -386,6 +394,8 @@ $ hg rm a $ hg ci -m "Removed a" + $ hg exp -T '{extras|json}\n' + {"branch": "default"} $ hg exp # HG changeset patch # User test @@ -461,6 +471,8 @@ -babar $ hg status R a + $ hg exp -T '{extras|json}\n' + {"branch": "default", "uncommit_source": "219cfe20964e"} $ hg exp # HG changeset patch # User test @@ -522,6 +534,9 @@ (enter ? for help) [Ynesfdaq?] n + $ hg exp -T '{extras|json}\n' + {"branch": "default", "uncommit_source": "0ff0d9a6d4be"} + $ hg exp # HG changeset patch # User test @@ -573,6 +588,9 @@ A bar ? foo.orig + $ hg exp -T '{extras|json}\n' + {"amend_source": "46e35360be473bf761bedf3d05de4a68ffd9d9f8", "branch": "default", "uncommit_source": "f70fb463d5bf"} + $ hg exp # HG changeset patch # User test @@ -656,6 +674,9 @@ @@ -0,0 +1,1 @@ +foo + $ hg exp -T '{extras|json}\n' + {"amend_source": "46e35360be473bf761bedf3d05de4a68ffd9d9f8", "branch": "default", "uncommit_source": "f70fb463d5bf"} + $ hg exp # HG changeset patch # User test @@ -719,6 +740,9 @@ (enter ? for help) [Ynesfdaq?] n + $ hg exp -T '{extras|json}\n' + {"amend_source": "46e35360be473bf761bedf3d05de4a68ffd9d9f8", "branch": "default", "uncommit_source": "f70fb463d5bf"} + $ hg exp # HG changeset patch # User test @@ -787,6 +811,8 @@ $ echo 'celeste' >> a $ echo 'i' >> b $ hg ci -m 'some more changes' + $ hg exp -T '{extras|json}\n' + {"branch": "default"} $ hg export # HG changeset patch # User test @@ -838,6 +864,8 @@ 5 babar +celeste + $ hg exp -T '{extras|json}\n' + {"branch": "default", "uncommit_source": "be5c67225e80"} $ hg export # HG changeset patch # User test @@ -913,6 +941,9 @@ -1 0 + $ hg exp -T '{extras|json}\n' + {"amend_source": "c701d7c8d18be55a92688f4458c26bd74fb1f525", "branch": "default", "uncommit_source": "be5c67225e80"} + $ hg export # HG changeset patch # User test