tests/test-mq-qdiff.out
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 22:03:23 -0300
changeset 4174 7307d2e98b32
parent 2904 8ca608c1eb02
permissions -rw-r--r--
fix qrefresh'ing an empty patch This is not superefficient (the commit will have to walk the whole tree), but it works.

% init
% commit
adding base
% qnew mqbase
% qrefresh
% qdiff
diff -r 67e992f2c4f3 base
--- a/base
+++ b/base
@@ -1,1 +1,1 @@ base
-base
+patched
% qdiff dirname
diff -r 67e992f2c4f3 base
--- a/base
+++ b/base
@@ -1,1 +1,1 @@ base
-base
+patched