Mercurial > hgbook
view en/examples/cmdref @ 799:7107b79427a3
Propagate 4e23c220d1b0
Update chapter 2
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 18 Jun 2009 19:11:36 +0900 |
parents | 1e013fbe35f7 |
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