Mercurial > evolve
comparison tests/test-evolve-phase-divergence.t @ 6889:a66cf9008781
obslog: also display patch for rebased changesets
This applies the same logic that is used for "merge-diff" to rebased
changesets. The successors' content is compared to the content of the
predecessors rebased in-memory on the new parents.
This highlights the changes that were actually introduced while rebasing (like
conflict resolution or API adjustment).
As a side effect, obslog now also outputs slightly more diffs for splits,
showing what parts of the original big changeset were moved to the smaller
split components (but for now it only works for the first few changesets).
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 22 Sep 2024 02:58:54 +0200 |
parents | 53d63b608230 |
children |
comparison
equal
deleted
inserted
replaced
6888:1e836ad40272 | 6889:a66cf9008781 |
---|---|
1830 3074c7249d2023b1fff891591d7e609695cd09c2 59945437088136c5fa2f9bb8573d5d02623fe7cb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 1830 3074c7249d2023b1fff891591d7e609695cd09c2 59945437088136c5fa2f9bb8573d5d02623fe7cb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
1831 59945437088136c5fa2f9bb8573d5d02623fe7cb 9eebcb77a7e2b240cb7dce095bbe608b5de91cc8 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'} | 1831 59945437088136c5fa2f9bb8573d5d02623fe7cb 9eebcb77a7e2b240cb7dce095bbe608b5de91cc8 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'} |
1832 $ hg obslog --patch | 1832 $ hg obslog --patch |
1833 @ 9eebcb77a7e2 (3) phase-divergent update to 3074c7249d20: | 1833 @ 9eebcb77a7e2 (3) phase-divergent update to 3074c7249d20: |
1834 | rewritten(description, parent, content) from 599454370881 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) | 1834 | rewritten(description, parent, content) from 599454370881 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
1835 | (No patch available, changesets rebased) | 1835 | diff -r 599454370881+ -r 9eebcb77a7e2 changeset-description |
1836 | --- a/changeset-description | |
1837 | +++ b/changeset-description | |
1838 | @@ -1,1 +1,3 @@ | |
1839 | +phase-divergent update to 3074c7249d20: | |
1840 | + | |
1841 | E2 | |
1842 | | |
1836 | | 1843 | |
1837 x 599454370881 (2) E2 | 1844 x 599454370881 (2) E2 |
1838 | rewritten(description, content) from 3074c7249d20 using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 1845 | rewritten(description, content) from 3074c7249d20 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
1839 | diff -r 3074c7249d20 -r 599454370881 changeset-description | 1846 | diff -r 3074c7249d20 -r 599454370881 changeset-description |
1840 | --- a/changeset-description | 1847 | --- a/changeset-description |