docs/tutorials/tutorial.t
changeset 259 9886034199af
parent 257 bbd1adb262fd
child 334 fb83210bce32
--- a/docs/tutorials/tutorial.t	Tue Jun 05 22:13:59 2012 +0200
+++ b/docs/tutorials/tutorial.t	Tue Jun 05 22:24:24 2012 +0200
@@ -494,8 +494,10 @@
 
 Let's make the local repo "non publishing"
 
-  $ echo "[phases]\npublish=false" >> ../local/.hg/hgrc
-  $ echo "[phases]\npublish=false" >> .hg/hgrc
+  $ echo '[phases]' >> ../local/.hg/hgrc
+  $ echo 'publish=false' >> ../local/.hg/hgrc
+  $ echo '[phases]' >> .hg/hgrc
+  $ echo 'publish=false' >> .hg/hgrc
   $ hg showconfig phases
   phases.publish=false
   $ hg -R ../local/ showconfig phases