diff tests/testlib/common.sh @ 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 51249e4e9025
children 1cbafebe874b
line wrap: on
line diff
--- 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