hgbook
changeset 194:a8cc7fa833a3
Add missed files.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Apr 16 14:41:41 2007 -0700 (2007-04-16) |
parents | 8b33c890e777 |
children | 959357d01607 |
files | en/examples/hook.msglen.go.out en/examples/mq.id.output.out |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/hook.msglen.go.out Mon Apr 16 14:41:41 2007 -0700 1.3 @@ -0,0 +1,10 @@ 1.4 +$ \textbf{cat .hg/hgrc} 1.5 +[hooks] 1.6 +pretxncommit.msglen = test `hg tip --template \{desc\} | wc -c` -ge 10 1.7 +$ \textbf{echo a > a} 1.8 +$ \textbf{hg add a} 1.9 +$ \textbf{hg commit -A -m 'too short'} 1.10 +abort: pretxncommit.msglen hook exited with status 1 1.11 +transaction abort! 1.12 +rollback completed 1.13 +$ \textbf{hg commit -A -m 'long enough'}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/en/examples/mq.id.output.out Mon Apr 16 14:41:41 2007 -0700 2.3 @@ -0,0 +1,32 @@ 2.4 +$ \textbf{hg qapplied} 2.5 +first.patch 2.6 +second.patch 2.7 +$ \textbf{hg log -r qbase:qtip} 2.8 +changeset: 2.9 +tag: first.patch 2.10 +tag: qbase 2.11 +user: Bryan O'Sullivan <bos@serpentine.com> 2.12 + 2.13 +summary: patch queue: first.patch 2.14 + 2.15 +changeset: 2.16 +tag: qtip 2.17 +tag: second.patch 2.18 +tag: tip 2.19 +user: Bryan O'Sullivan <bos@serpentine.com> 2.20 + 2.21 +summary: patch queue: second.patch 2.22 + 2.23 +$ \textbf{hg export second.patch} 2.24 +# HG changeset patch 2.25 +# User Bryan O'Sullivan <bos@serpentine.com> 2.26 + 2.27 +# Node ID 2.28 +# Parent 2.29 +patch queue: second.patch 2.30 + 2.31 +diff -r -r other.c 2.32 + 2.33 + 2.34 +@@ -0,0 +1,1 @@ 2.35 ++double u;