hgbook
annotate en/examples/results/mq.tutorial.qnew2.out @ 564:0d5935744f87
Switch from LaTeX to XML for examples.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 09 21:39:23 2009 -0700 (2009-03-09) |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
rev | line source |
---|---|
bos@564 | 1 <screen><prompt>$</prompt> <userinput>hg qnew second.patch</userinput> |
bos@564 | 2 <prompt>$</prompt> <userinput>hg log --style=compact --limit=2</userinput> |
bos@564 | 3 2[qtip,second.patch,tip] 2009-03-10 04:38 +0000 bos |
bos@273 | 4 [mq]: second.patch |
bos@144 | 5 |
bos@564 | 6 1[first.patch,qbase] 2009-03-10 04:38 +0000 bos |
bos@273 | 7 [mq]: first.patch |
bos@144 | 8 |
bos@564 | 9 <prompt>$</prompt> <userinput>echo 'line 4' >> file1</userinput> |
bos@564 | 10 <prompt>$</prompt> <userinput>hg qrefresh</userinput> |
bos@564 | 11 <prompt>$</prompt> <userinput>hg tip --style=compact --patch</userinput> |
bos@564 | 12 2[qtip,second.patch,tip] 2009-03-10 04:38 +0000 bos |
bos@273 | 13 [mq]: second.patch |
bos@144 | 14 |
bos@144 | 15 diff -r -r file1 |
bos@144 | 16 |
bos@144 | 17 |
hg@297 | 18 @@ -1,3 +1,4 @@ |
bos@144 | 19 line 1 |
bos@144 | 20 line 2 |
bos@144 | 21 line 3 |
bos@144 | 22 +line 4 |
bos@144 | 23 |
bos@564 | 24 <prompt>$</prompt> <userinput>hg annotate file1</userinput> |
bos@144 | 25 0: line 1 |
bos@144 | 26 1: line 2 |
bos@144 | 27 1: line 3 |
bos@144 | 28 2: line 4 |
bos@564 | 29 </screen> |