hgbook
annotate es/examples/mq.id @ 1031:d6d7136b0f74
Merge with gpiancastelli
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sat Jul 10 06:24:30 2010 +0100 (2010-07-10) |
parents | |
children |
rev | line source |
---|---|
igor@333 | 1 #!/bin/sh |
igor@333 | 2 |
igor@333 | 3 echo '[extensions]' >> $HGRC |
igor@333 | 4 echo 'hgext.mq =' >> $HGRC |
igor@333 | 5 |
igor@333 | 6 hg init a |
igor@333 | 7 cd a |
igor@333 | 8 hg qinit |
igor@333 | 9 echo 'int x;' > test.c |
igor@333 | 10 hg ci -Ama |
igor@333 | 11 |
igor@333 | 12 hg qnew first.patch |
igor@333 | 13 echo 'float c;' >> test.c |
igor@333 | 14 hg qrefresh |
igor@333 | 15 |
igor@333 | 16 hg qnew second.patch |
igor@333 | 17 echo 'double u;' > other.c |
igor@333 | 18 hg add other.c |
igor@333 | 19 hg qrefresh |
igor@333 | 20 |
igor@333 | 21 #$ name: output |
igor@333 | 22 |
igor@333 | 23 hg qapplied |
igor@333 | 24 hg log -r qbase:qtip |
igor@333 | 25 hg export second.patch |
igor@333 | 26 |
igor@333 | 27 #$ name: |
igor@333 | 28 exit 0 |