comparison en/examples/hook.msglen.go.out @ 194:a8cc7fa833a3

Add missed files.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 16 Apr 2007 14:41:41 -0700
parents
children 00f69e8825c5
comparison
equal deleted inserted replaced
193:8b33c890e777 194:a8cc7fa833a3
1 $ \textbf{cat .hg/hgrc}
2 [hooks]
3 pretxncommit.msglen = test `hg tip --template \{desc\} | wc -c` -ge 10
4 $ \textbf{echo a > a}
5 $ \textbf{hg add a}
6 $ \textbf{hg commit -A -m 'too short'}
7 abort: pretxncommit.msglen hook exited with status 1
8 transaction abort!
9 rollback completed
10 $ \textbf{hg commit -A -m 'long enough'}