view ja/examples/cmdref.diff-p.out @ 796:5cb09396dc35

add auto-snippets.xml
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 18 Jun 2009 16:41:21 +0900
parents b0db5adf11c1
children
line wrap: on
line source

$ \textbf{echo '[diff]' >> $HGRC}
$ \textbf{echo 'showfunc = False' >> $HGRC}
$ \textbf{hg diff}
diff -r  myfile.c


@@ -1,4 +1,4 @@
 int myfunc()
 \{
-    return 1;
+    return 10;
 \}
$ \textbf{hg diff -p}
diff -r  myfile.c


@@ -1,4 +1,4 @@ int myfunc()
 int myfunc()
 \{
-    return 1;
+    return 10;
 \}