tests/test-mq-qdiff.out
author Patrick Mezard <pmezard@gmail.com>
Tue, 20 Nov 2007 14:31:58 +0100
changeset 5534 61c230f81068
parent 2916 8ca608c1eb02
child 5863 3d1f9dcecdea
permissions -rw-r--r--
mq: avoid qnew committing everything on invalid paths (issue 803) If paths are supplied but resolve to nothing, localrepo.commit() is called with an empty set and commits the whole dirstate. Avoid this by passing the match function to commit.

% 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