hgbook

annotate es/examples/mq.id @ 358:15a6b61335aa

translated a couple of paragraphs, and updated the table of works in progress
author Javier Rojas <jerojasro@devnull.li>
date Thu Oct 23 23:18:59 2008 -0500 (2008-10-23)
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