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

Update MQ chapter to match recent bug fixes.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 27 Jul 2006 10:20:55 -0700
parents
children ec1f144968de
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/en/examples/mq.id	Thu Jul 27 10:20:55 2006 -0700
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+hg init a
+cd a
+hg qinit
+echo 'int x;' > test.c
+hg ci -Ama
+
+hg qnew first.patch
+echo 'float c;' >> test.c
+hg qrefresh
+
+hg qnew second.patch
+echo 'double u;' > other.c
+hg add other.c
+hg qrefresh
+
+#$ name: out
+
+hg qapplied
+hg log -r qbase:qtip
+hg export second.patch