# HG changeset patch # User Anton Shestakov # Date 1632160051 -10800 # Node ID 6b7ef731141bb9365b8e062bf556d78c938e71e9 # Parent 29bc269bcc9614d8e57f84eded4fcda939b41dbf tests: move the most often used glog alias to common.sh diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-amend-patch.t --- 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] diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-abort-orphan.t --- 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 < [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-abort-phasediv.t --- 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 < [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-content-divergent-interrupted.t --- 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 < [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [experimental] > evolution.allowdivergence = True > [extensions] diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-continue.t --- 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 < [ui] > interactive = True - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > rebase = > evolve = diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-issue5832.t --- 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 < [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-issue5881.t --- 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 < [phases] > publish = False - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-noupdate.t --- 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 < [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-orphan-merge.t --- 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 < [ui] > interactive = True - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-orphan-split.t --- 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 < [ui] > interactive = True - > [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > rebase = > evolve = diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-stop-orphan.t --- 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 < [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/test-evolve-stop-phasediv.t --- 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 < [alias] - > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" > [extensions] > evolve = > EOF diff -r 29bc269bcc96 -r 6b7ef731141b tests/testlib/common.sh --- 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