Commits

Anonymous committed 32936a9

doc: some documentation on the configuration part of the tutorial

Trying to make it less obscure on first contact

  • Participants
  • Parent commits 015cd9d

Comments (0)

Files changed (2)

 
 # The name of an image file (within the static path) to place at the top of
 # the sidebar.
-html_logo = 'logo-evolve.svg'
+#html_logo = 'logo-evolve.svg'
 
 # The name of an image file (within the static path) to use as favicon of the
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32

tests/test-tutorial.t

 
   $ 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
 
 
 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:
 
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
+  > evolve = $TESTDIR/../hgext/evolve.py
+  > # enabling rebase is also needed for now
   > rebase =
-  > evolve = $TESTDIR/../hgext/evolve.py
   > EOF
 
 -----------------------