hgbook

view ja/examples/hook.simple.ext.out @ 1112:7764de86d22f

refined chap 2
author Zhaoping Sun <zhaopingsun@gmail.com>
date Mon Dec 28 22:58:53 2009 -0500 (2009-12-28)
parents
children
line source
1 $ \textbf{echo 'commit.when = echo -n "date of commit: "; date' >> .hg/hgrc}
2 $ \textbf{echo a >> a}
3 $ \textbf{hg commit -m 'i have two hooks'}
4 committed