Mercurial > hgbook
view es/examples/cmdref @ 709:4432ad34b8e5
Check in example outputs with begin/end markers.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 31 Mar 2009 12:19:01 -0700 |
parents | 04c08ad7e92e |
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