hgbook
annotate fr/examples/mq.id @ 963:1dd00abb3fa9
merge with bryan - it's been a while but everything seems ok
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Sun Aug 16 03:41:39 2009 +0200 (2009-08-16) |
parents | 914babdc99c8 |
children |
rev | line source |
---|---|
bos@50 | 1 #!/bin/sh |
bos@50 | 2 |
bos@90 | 3 echo '[extensions]' >> $HGRC |
bos@90 | 4 echo 'hgext.mq =' >> $HGRC |
bos@90 | 5 |
bos@50 | 6 hg init a |
bos@50 | 7 cd a |
bos@50 | 8 hg qinit |
bos@50 | 9 echo 'int x;' > test.c |
bos@50 | 10 hg ci -Ama |
bos@50 | 11 |
bos@50 | 12 hg qnew first.patch |
bos@50 | 13 echo 'float c;' >> test.c |
bos@50 | 14 hg qrefresh |
bos@50 | 15 |
bos@50 | 16 hg qnew second.patch |
bos@50 | 17 echo 'double u;' > other.c |
bos@50 | 18 hg add other.c |
bos@50 | 19 hg qrefresh |
bos@50 | 20 |
bos@155 | 21 #$ name: output |
bos@50 | 22 |
bos@50 | 23 hg qapplied |
bos@50 | 24 hg log -r qbase:qtip |
bos@50 | 25 hg export second.patch |
bos@74 | 26 |
bos@74 | 27 #$ name: |
bos@74 | 28 exit 0 |