hgbook
annotate en/examples/mq.tutorial @ 336:7e52f0cc4516
changed es/hgext.tex
changed es/hook.tex
changed es/kdiff3.png
changed es/license.tex
changed es/mq-collab.tex
changed es/mq-ref.tex
changed es/mq.tex
changed es/note.png
changed es/tour-merge.tex
changed es/undo-manual-merge.dot
changed es/undo-non-tip.dot
files needed to compile the pdf version of the book.
changed es/hook.tex
changed es/kdiff3.png
changed es/license.tex
changed es/mq-collab.tex
changed es/mq-ref.tex
changed es/mq.tex
changed es/note.png
changed es/tour-merge.tex
changed es/undo-manual-merge.dot
changed es/undo-non-tip.dot
files needed to compile the pdf version of the book.
author | jerojasro@localhost |
---|---|
date | Sat Oct 18 15:44:41 2008 -0500 (2008-10-18) |
parents | ceaca14e49f0 |
children |
rev | line source |
---|---|
bos@47 | 1 #!/bin/bash |
bos@47 | 2 |
bos@7 | 3 echo '[extensions]' >> $HGRC |
bos@7 | 4 echo 'hgext.mq =' >> $HGRC |
bos@7 | 5 |
bos@7 | 6 #$ name: qinit |
bos@7 | 7 |
bos@8 | 8 hg init mq-sandbox |
bos@7 | 9 cd mq-sandbox |
bos@8 | 10 echo 'line 1' > file1 |
bos@8 | 11 echo 'another line 1' > file2 |
bos@8 | 12 hg add file1 file2 |
bos@8 | 13 hg commit -m'first change' |
bos@7 | 14 |
bos@7 | 15 hg qinit |
bos@7 | 16 |
bos@7 | 17 #$ name: qnew |
bos@7 | 18 |
bos@7 | 19 hg tip |
bos@7 | 20 hg qnew first.patch |
bos@8 | 21 hg tip |
bos@7 | 22 ls .hg/patches |
bos@7 | 23 |
bos@8 | 24 #$ name: qrefresh |
bos@141 | 25 #$ ignore: \s+200[78]-.* |
bos@8 | 26 |
bos@8 | 27 echo 'line 2' >> file1 |
bos@8 | 28 hg diff |
bos@8 | 29 hg qrefresh |
bos@8 | 30 hg diff |
bos@8 | 31 hg tip --style=compact --patch |
bos@8 | 32 |
bos@8 | 33 #$ name: qrefresh2 |
bos@8 | 34 |
bos@8 | 35 echo 'line 3' >> file1 |
bos@8 | 36 hg status |
bos@8 | 37 hg qrefresh |
bos@8 | 38 hg tip --style=compact --patch |
bos@8 | 39 |
bos@8 | 40 #$ name: qnew2 |
bos@8 | 41 |
bos@8 | 42 hg qnew second.patch |
bos@8 | 43 hg log --style=compact --limit=2 |
bos@8 | 44 echo 'line 4' >> file1 |
bos@8 | 45 hg qrefresh |
bos@8 | 46 hg tip --style=compact --patch |
bos@8 | 47 hg annotate file1 |
bos@8 | 48 |
bos@8 | 49 #$ name: qseries |
bos@8 | 50 |
bos@8 | 51 hg qseries |
bos@8 | 52 hg qapplied |
bos@8 | 53 |
bos@8 | 54 #$ name: qpop |
bos@8 | 55 |
bos@8 | 56 hg qapplied |
bos@8 | 57 hg qpop |
bos@8 | 58 hg qseries |
bos@8 | 59 hg qapplied |
bos@8 | 60 cat file1 |
bos@27 | 61 |
bos@27 | 62 #$ name: qpush-a |
bos@27 | 63 |
bos@27 | 64 hg qpush -a |
bos@8 | 65 cat file1 |
bos@27 | 66 |
bos@27 | 67 #$ name: add |
bos@27 | 68 |
bos@27 | 69 echo 'file 3, line 1' >> file3 |
bos@27 | 70 hg qnew add-file3.patch |
bos@27 | 71 hg qnew -f add-file3.patch |
bos@74 | 72 |
bos@74 | 73 #$ name: |
bos@74 | 74 exit 0 |