--- a/tests/test-tutorial.t Thu Jan 09 21:22:00 2014 -0800
+++ b/tests/test-tutorial.t Thu Jan 09 15:24:16 2014 -0800
@@ -7,12 +7,15 @@
$ cat >> $HGRCPATH << EOF
> [ui]
+ > # This is change the default output of log for clear tutorial
> logtemplate ="{node|short} ({phase}): {desc}\n"
> [diff]
+ > # use "git" diff format, clearer and smarter format
> git = 1
> [alias]
> # "-d '0 0'" means that the new commit will be at January 1st 1970.
> # This is used for stable hash during test
+ > # (this tutorial is automatically tested.)
> amend = amend -d '0 0'
> EOF
@@ -44,8 +47,7 @@
A compact log template with phase data:
- $ hg showconfig ui
- ui.slash=True
+ $ hg showconfig ui | grep log
ui.logtemplate="{node|short} ({phase}): {desc}\n"
Improved git format diff:
@@ -57,8 +59,9 @@
$ cat >> $HGRCPATH <<EOF
> [extensions]
+ > evolve = $TESTDIR/../hgext/evolve.py
+ > # enabling rebase is also needed for now
> rebase =
- > evolve = $TESTDIR/../hgext/evolve.py
> EOF
-----------------------