$ \textbf{echo 'line 2' >> file1}
$ \textbf{hg diff}
diff -r  file1


@@ -1,1 +1,2 @@
 line 1
+line 2
$ \textbf{hg qrefresh}
$ \textbf{hg diff}
$ \textbf{hg tip --style=compact --patch}
1[qtip,first.patch,tip,qbase]      2009-01-30 06:34 +0000   bos
  [mq]: first.patch

diff -r  -r  file1


@@ -1,1 +1,2 @@
 line 1
+line 2