Mercurial > evolve
changeset 6041:6b7ef731141b
tests: move the most often used glog alias to common.sh
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 20 Sep 2021 20:47:31 +0300 |
parents | 29bc269bcc96 |
children | 1cbafebe874b |
files | tests/test-amend-patch.t tests/test-evolve-abort-orphan.t tests/test-evolve-abort-phasediv.t tests/test-evolve-content-divergent-interrupted.t tests/test-evolve-continue.t tests/test-evolve-issue5832.t tests/test-evolve-issue5881.t tests/test-evolve-noupdate.t tests/test-evolve-orphan-merge.t tests/test-evolve-orphan-split.t tests/test-evolve-stop-orphan.t tests/test-evolve-stop-phasediv.t tests/testlib/common.sh |
diffstat | 13 files changed, 5 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-amend-patch.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-amend-patch.t Mon Sep 20 20:47:31 2021 +0300 @@ -5,8 +5,6 @@ $ . $TESTDIR/testlib/common.sh $ cat >> $HGRCPATH << EOF - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [diff] > git = 1 > [extensions]
--- a/tests/test-evolve-abort-orphan.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-abort-orphan.t Mon Sep 20 20:47:31 2021 +0300 @@ -16,8 +16,6 @@ $ cat >> $HGRCPATH <<EOF > [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-abort-phasediv.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-abort-phasediv.t Mon Sep 20 20:47:31 2021 +0300 @@ -16,8 +16,6 @@ $ cat >> $HGRCPATH <<EOF > [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-content-divergent-interrupted.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-content-divergent-interrupted.t Mon Sep 20 20:47:31 2021 +0300 @@ -24,8 +24,6 @@ $ cat >> $HGRCPATH <<EOF > [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [experimental] > evolution.allowdivergence = True > [extensions]
--- a/tests/test-evolve-continue.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-continue.t Mon Sep 20 20:47:31 2021 +0300 @@ -5,8 +5,6 @@ $ cat >> $HGRCPATH <<EOF > [ui] > interactive = True - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > rebase = > evolve =
--- a/tests/test-evolve-issue5832.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-issue5832.t Mon Sep 20 20:47:31 2021 +0300 @@ -9,8 +9,6 @@ $ cat >> $HGRCPATH <<EOF > [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-issue5881.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-issue5881.t Mon Sep 20 20:47:31 2021 +0300 @@ -12,8 +12,6 @@ $ cat >> $HGRCPATH <<EOF > [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-noupdate.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-noupdate.t Mon Sep 20 20:47:31 2021 +0300 @@ -14,8 +14,6 @@ $ . $TESTDIR/testlib/common.sh $ cat >> $HGRCPATH <<EOF - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-orphan-merge.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-orphan-merge.t Mon Sep 20 20:47:31 2021 +0300 @@ -5,8 +5,6 @@ $ cat >> $HGRCPATH <<EOF > [ui] > interactive = True - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-orphan-split.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-orphan-split.t Mon Sep 20 20:47:31 2021 +0300 @@ -6,8 +6,6 @@ $ cat >> $HGRCPATH <<EOF > [ui] > interactive = True - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > rebase = > evolve =
--- a/tests/test-evolve-stop-orphan.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-stop-orphan.t Mon Sep 20 20:47:31 2021 +0300 @@ -12,8 +12,6 @@ $ . $TESTDIR/testlib/common.sh $ cat >> $HGRCPATH <<EOF - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/test-evolve-stop-phasediv.t Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/test-evolve-stop-phasediv.t Mon Sep 20 20:47:31 2021 +0300 @@ -12,8 +12,6 @@ $ . $TESTDIR/testlib/common.sh $ cat >> $HGRCPATH <<EOF - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF
--- a/tests/testlib/common.sh Mon Sep 20 20:28:49 2021 +0300 +++ b/tests/testlib/common.sh Mon Sep 20 20:47:31 2021 +0300 @@ -11,3 +11,8 @@ getid() { hg log --hidden --template '{node}\n' --rev "$1" } + +cat >> $HGRCPATH << EOF +[alias] +glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" +EOF