# HG changeset patch # User Boris Feld # Date 1501168964 -7200 # Node ID 93588d219f2f28dda82f08769d25f4bc1dbd8e98 # Parent 7608f1e04205c738b49e757155bd33427f0c772f doc: various little improvements for rst export diff -r 7608f1e04205 -r 93588d219f2f tests/test-topic-tutorial.t --- a/tests/test-topic-tutorial.t Thu Jul 27 17:16:02 2017 +0200 +++ b/tests/test-topic-tutorial.t Thu Jul 27 17:22:44 2017 +0200 @@ -2,18 +2,20 @@ Topic Tutorial ============== -.. This test file is also supposed to be able to compile as a rest file. +This Mercurial configuration example is used for testing. - -.. Some Setup:: +.. Various setup $ . "$TESTDIR/testlib/topic_setup.sh" $ hg init server + $ cd server + $ cat >> .hg/hgrc << EOF > [ui] > user= Shopping Master > EOF + $ cat >> shopping << EOF > Spam > Whizzo butter @@ -23,8 +25,10 @@ > Blancmange > Salmon mousse > EOF + $ hg commit -A -m "Shopping list" adding shopping + $ cd .. $ hg clone server client updating to branch default diff -r 7608f1e04205 -r 93588d219f2f tests/test-tutorial.t --- a/tests/test-tutorial.t Thu Jul 27 17:16:02 2017 +0200 +++ b/tests/test-tutorial.t Thu Jul 27 17:22:44 2017 +0200 @@ -3,6 +3,7 @@ ------------- This Mercurial configuration example is used for testing. + .. Various setup $ cat >> $HGRCPATH << EOF