view en/examples/mq.tutorial.qnew2.out @ 333:db3aa48f2f73

more mq.tex
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 30 Mar 2008 17:46:24 +0900
parents 00f69e8825c5
children bd8d96d3703d
line wrap: on
line source

$ \textbf{hg qnew second.patch}
$ \textbf{hg log --style=compact --limit=2}
2[qtip,second.patch,tip]   
  [mq]: second.patch

1[first.patch,qbase]   
  [mq]: first.patch

$ \textbf{echo 'line 4' >> file1}
$ \textbf{hg qrefresh}
$ \textbf{hg tip --style=compact --patch}
2[qtip,second.patch,tip]   
  [mq]: second.patch

diff -r  -r  file1


@@ -1,3 +1,4 @@ line 1
 line 1
 line 2
 line 3
+line 4

$ \textbf{hg annotate file1}
0: line 1
1: line 2
1: line 3
2: line 4