Mercurial > evolve
changeset 6036:86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
The alias is copied from test-topic-flow-publish-bare.t.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 10 Sep 2021 16:25:52 +0300 |
parents | 55fbf9c8bfe0 |
children | dd0ddc3dcb0f |
files | tests/test-topic-flow-publish-flag.t |
diffstat | 1 files changed, 17 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-topic-flow-publish-flag.t Fri Sep 10 16:12:52 2021 +0300 +++ b/tests/test-topic-flow-publish-flag.t Fri Sep 10 16:25:52 2021 +0300 @@ -5,6 +5,11 @@ $ . "$TESTDIR/testlib/topic_setup.sh" $ . "$TESTDIR/testlib/common.sh" + $ cat << EOF >> "$HGRCPATH" + > [alias] + > tgl = log --rev 'sort(\$1, "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + > EOF + testing hg push --publish flag ============================== @@ -35,7 +40,7 @@ adding manifests adding file changes added 1 changesets with 1 changes to 1 files - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 2:286d02a6e2a2 c_dB0 public default | o 1:134bc3852ad2 c_dA0 public default @@ -55,7 +60,7 @@ adding manifests adding file changes added 2 changesets with 2 changes to 2 files - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 4:c63e7dd93a91 c_dD0 public default | o 3:7d56a56d2547 c_dC0 public default @@ -84,7 +89,7 @@ adding manifests adding file changes added 2 changesets with 2 changes to 2 files (+1 heads) - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 6:45b23c834b6a c_oF0 public other | | o 5:5576ae39eaee c_dE0 public default @@ -110,7 +115,7 @@ adding manifests adding file changes added 1 changesets with 1 changes to 1 files - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 7:d293f74a1233 c_oG0 draft other | o 6:45b23c834b6a c_oF0 public other @@ -132,7 +137,7 @@ searching for changes no changes found [1] - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 7:d293f74a1233 c_oG0 public other | o 6:45b23c834b6a c_oF0 public other @@ -164,7 +169,7 @@ adding manifests adding file changes added 1 changesets with 1 changes to 1 files - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 9:fbf2be276221 c_dI0 public default | o 5:5576ae39eaee c_dE0 public default @@ -197,7 +202,7 @@ adding manifests adding file changes added 2 changesets with 2 changes to 2 files - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 10:ac4cf59f2aac c_dJ0 draft default | o 9:fbf2be276221 c_dI0 public default @@ -225,7 +230,7 @@ searching for changes no changes found [1] - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 10:ac4cf59f2aac c_dJ0 public default | o 9:fbf2be276221 c_dI0 public default @@ -257,7 +262,7 @@ searching for changes no changes found [1] - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 10:ac4cf59f2aac c_dJ0 public default | o 9:fbf2be276221 c_dI0 public default @@ -301,7 +306,7 @@ added 1 changesets with 1 changes to 1 files active topic 'topic_A' is now empty (use 'hg topic --clear' to clear it if needed) - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 11:d06fc4f891e8 c_dK0 public default | o 10:ac4cf59f2aac c_dJ0 public default @@ -351,7 +356,7 @@ adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 13:0d144c8b6c8f c_dM0 public default | | o 12:3c73f6cabf07 c_dL0 draft default topic_A @@ -397,7 +402,7 @@ abort: push creates new remote head 4dcd0be9db96 (merge or see 'hg help push' for details about pushing new heads) [20] - $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' + $ hg tgl 'all()' @ 14:4dcd0be9db96 c_dN0 draft default topic_B | | o 13:0d144c8b6c8f c_dM0 public default