bos@50: #!/bin/sh bos@50: bos@50: hg init a bos@50: cd a bos@50: hg qinit bos@50: echo 'int x;' > test.c bos@50: hg ci -Ama bos@50: bos@50: hg qnew first.patch bos@50: echo 'float c;' >> test.c bos@50: hg qrefresh bos@50: bos@50: hg qnew second.patch bos@50: echo 'double u;' > other.c bos@50: hg add other.c bos@50: hg qrefresh bos@50: bos@50: #$ name: out bos@50: bos@50: hg qapplied bos@50: hg log -r qbase:qtip bos@50: hg export second.patch