Commits

Anonymous committed c09a623

Added code snippets I left behind from Ch.2.

Comments (0)

Files changed (4)

it/examples/auto-snippets.xml

 <!ENTITY interaction.tour.clone SYSTEM "tour.clone.it">
 <!ENTITY interaction.tour.clone-pull SYSTEM "tour.clone-pull.it">
 <!ENTITY interaction.tour.clone-push SYSTEM "tour.clone-push.it">
-<!ENTITY interaction.tour.commit SYSTEM "results/tour.commit.lxo">
+<!ENTITY interaction.tour.commit SYSTEM "tour.commit.it">
 <!ENTITY interaction.tour.diff SYSTEM "tour.diff.it">
 <!ENTITY interaction.tour.help SYSTEM "tour.help.it">
 <!ENTITY interaction.tour.incoming SYSTEM "tour.incoming.it">
 <!ENTITY interaction.tour.log-vp SYSTEM "tour.log-vp.it">
 <!ENTITY interaction.tour.log.range SYSTEM "tour.log.range.it">
 <!ENTITY interaction.tour.ls SYSTEM "tour.ls.it">
-<!ENTITY interaction.tour.ls-a SYSTEM "results/tour.ls-a.lxo">
+<!ENTITY interaction.tour.ls-a SYSTEM "tour.ls-a.it">
 <!ENTITY interaction.tour.lxogoing SYSTEM "results/tour.lxogoing.lxo">
 <!ENTITY interaction.tour.lxogoing.net SYSTEM "results/tour.lxogoing.net.lxo">
 <!ENTITY interaction.tour.merge.cat SYSTEM "results/tour.merge.cat.lxo">
 <!ENTITY interaction.tour.push.nothing SYSTEM "tour.push.nothing.it">
 <!ENTITY interaction.tour.reclone SYSTEM "tour.reclone.it">
 <!ENTITY interaction.tour.sed SYSTEM "results/tour.sed.lxo">
-<!ENTITY interaction.tour.status SYSTEM "results/tour.status.lxo">
+<!ENTITY interaction.tour.status SYSTEM "tour.status.it">
 <!ENTITY interaction.tour.tip SYSTEM "tour.tip.it">
 <!ENTITY interaction.tour.update SYSTEM "tour.update.it">
 <!ENTITY interaction.tour.version SYSTEM "tour.version.it">

it/examples/tour.commit.it

+<!-- BEGIN tour.commit -->
+<screen><prompt>$</prompt> <userinput>hg commit</userinput>
+</screen>
+<!-- END tour.commit -->

it/examples/tour.ls-a.it

+<!-- BEGIN tour.ls-a -->
+<screen><prompt>$</prompt> <userinput>cd hello</userinput>
+<prompt>$</prompt> <userinput>ls -a</userinput>
+.  ..  .hg  Makefile  hello.c
+</screen>
+<!-- END tour.ls-a -->

it/examples/tour.status.it

+<!-- BEGIN tour.status -->
+<screen><prompt>$</prompt> <userinput>ls</userinput>
+Makefile  hello.c
+<prompt>$</prompt> <userinput>hg status</userinput>
+M hello.c
+</screen>
+<!-- END tour.status -->