hgbook

diff en/examples/mq.id @ 50:8b0d389cf6e0

Update MQ chapter to match recent bug fixes.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu Jul 27 10:20:55 2006 -0700 (2006-07-27)
parents
children ec1f144968de
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/examples/mq.id	Thu Jul 27 10:20:55 2006 -0700
     1.3 @@ -0,0 +1,22 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +hg init a
     1.7 +cd a
     1.8 +hg qinit
     1.9 +echo 'int x;' > test.c
    1.10 +hg ci -Ama
    1.11 +
    1.12 +hg qnew first.patch
    1.13 +echo 'float c;' >> test.c
    1.14 +hg qrefresh
    1.15 +
    1.16 +hg qnew second.patch
    1.17 +echo 'double u;' > other.c
    1.18 +hg add other.c
    1.19 +hg qrefresh
    1.20 +
    1.21 +#$ name: out
    1.22 +
    1.23 +hg qapplied
    1.24 +hg log -r qbase:qtip
    1.25 +hg export second.patch