hgbook

view it/examples/mq.tutorial.qnew2.it @ 812:42e2c9d47ef4

Minor changes and translation of code snippets for Ch.12.
author Giulio@puck
date Sat Aug 15 15:15:39 2009 +0200 (2009-08-15)
parents
children
line source
1 <!-- BEGIN mq.tutorial.qnew2 -->
2 <screen><prompt>$</prompt> <userinput>hg qnew seconda.patch</userinput>
3 <prompt>$</prompt> <userinput>hg log --style=compact --limit=2</userinput>
4 2[qtip,seconda.patch,tip] 2d7ecb80769d 2009-06-05 15:51 +0000 bos
5 [mq]: seconda.patch
7 1[prima.patch,qbase] 8593307a06ec 2009-06-05 15:51 +0000 bos
8 [mq]: prima.patch
10 <prompt>$</prompt> <userinput>echo 'riga 4' &gt;&gt; file1</userinput>
11 <prompt>$</prompt> <userinput>hg qrefresh</userinput>
12 <prompt>$</prompt> <userinput>hg tip --style=compact --patch</userinput>
13 2[qtip,seconda.patch,tip] 78d47e79ab59 2009-06-05 15:51 +0000 bos
14 [mq]: seconda.patch
16 diff -r 8593307a06ec -r 78d47e79ab59 file1
17 --- a/file1 Fri Jun 05 15:51:00 2009 +0000
18 +++ b/file1 Fri Jun 05 15:51:02 2009 +0000
19 @@ -1,3 +1,4 @@
20 riga 1
21 riga 2
22 riga 3
23 +riga 4
25 <prompt>$</prompt> <userinput>hg annotate file1</userinput>
26 0: riga 1
27 1: riga 2
28 1: riga 3
29 2: riga 4
30 </screen>
31 <!-- END mq.tutorial.qnew2 -->