Source

hgbook-zh_TW / ja / examples / hook.simple.ext.out

Full commit
1
2
3
4
5
$ \textbf{echo 'commit.when = echo -n "date of commit: "; date' >> .hg/hgrc}
$ \textbf{echo a >> a}
$ \textbf{hg commit -m 'i have two hooks'}
committed