tests/test-metaedit.t
branchstable
changeset 4896 14698b28aa57
parent 4895 92d617c7be66
child 4897 20380ae44d0f
--- a/tests/test-metaedit.t	Wed Oct 09 20:07:42 2019 +0700
+++ b/tests/test-metaedit.t	Wed Oct 09 20:12:54 2019 +0700
@@ -1,5 +1,6 @@
   $ cat >> $HGRCPATH <<EOF
   > [alias]
+  > glog = log -GT "{rev}:{node|short}@{branch}({phase}) {desc|firstline}"
   > gluf = log -GT "{rev}: {desc|firstline} - {author|user} ({files})"
   > [extensions]
   > EOF
@@ -10,10 +11,6 @@
   >    hg ci -m "$1"
   > }
 
-  $ glog() {
-  >   hg log -G --template '{rev}:{node|short}@{branch}({phase}) {desc|firstline}\n' "$@"
-  > }
-
 
 ##########################
 importing Parren test
@@ -134,7 +131,7 @@
   2 changesets folded
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
-  $ glog -r .
+  $ hg glog -r .
   @  9:a08d35fd7d9d@default(draft) E
   |
   ~
@@ -171,7 +168,7 @@
   HG: added F
   nothing changed
 
-  $ glog -r '.^::.'
+  $ hg glog -r '.^::.'
   @  9:a08d35fd7d9d@default(draft) E
   |
   o  3:3260958f1169@default(draft) C