Mercurial > hgbook
view ja/examples/cmdref @ 837:b775f963b18c
Clean up chapter 8, and add content
propagate 7226e5e750a6
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 15 Sep 2009 22:32:03 +0900 |
parents | b0db5adf11c1 |
children |
line wrap: on
line source
#!/bin/bash hg init diff cd diff cat > myfile.c <<EOF int myfunc() { return 1; } EOF hg ci -Ama sed -ie 's/return 1/return 10/' myfile.c #$ name: diff-p echo '[diff]' >> $HGRC echo 'showfunc = False' >> $HGRC hg diff hg diff -p