##// END OF EJS Templates
tests: remove unneeded -d flags...
tests: remove unneeded -d flags Many tests fixed the commit date of their changesets at '1000000 0' or similar. However testing with "Mon Jan 12 13:46:40 1970 +0000" is not better than testing with "Thu Jan 01 00:00:00 1970 +0000", which is the default run-tests.py installs. Removing the unnecessary flag removes some clutter and will hopefully make it clearer what the tests are really trying to test. Some tests did not even change their output when the dates were changed, in which case the -d flag was truly irrelevant. Dates used in sequence (such as '0 0', '1 0', etc...) were left alone since they may make the test easier to understand.

File last commit:

r11049:a84f1422 default
r12156:4c94b6d0 default
Show More
test-mq-qdiff.out
127 lines | 1.4 KiB | text/plain | TextLexer
/ tests / test-mq-qdiff.out
Giorgos Keramidas
tests: new test for mq qdiff command...
r2916 % init
% commit
adding base
% qnew mqbase
% qrefresh
% qdiff
diff -r 67e992f2c4f3 base
--- a/base
+++ b/base
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,1 @@
Giorgos Keramidas
tests: new test for mq qdiff command...
r2916 -base
+patched
% qdiff dirname
diff -r 67e992f2c4f3 base
--- a/base
+++ b/base
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,1 @@
Giorgos Keramidas
tests: new test for mq qdiff command...
r2916 -base
+patched
Jason Orendorff
mq: qdiff: support all diffopts
r6668 % qdiff filename
diff -r 67e992f2c4f3 base
--- a/base
+++ b/base
@@ -1,1 +1,1 @@
-base
+patched
% revert
% qpop
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping mqbase
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Jason Orendorff
mq: qdiff: support all diffopts
r6668 % qdelete mqbase
% commit 2
adding lines
% qnew 2
% qdiff -U 1
diff -r 35fb829491c1 lines
--- a/lines
+++ b/lines
@@ -1,1 +1,3 @@
+
+
1
@@ -4,4 +6,4 @@
4
-hello world
-goodbye world
+hello world
+ goodbye world
7
% qdiff -b
diff -r 35fb829491c1 lines
--- a/lines
+++ b/lines
@@ -1,9 +1,11 @@
+
+
1
2
3
4
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 hello world
Jason Orendorff
mq: qdiff: support all diffopts
r6668 -goodbye world
+ goodbye world
7
8
9
% qdiff -U 1 -B
diff -r 35fb829491c1 lines
--- a/lines
+++ b/lines
@@ -4,4 +6,4 @@
4
-hello world
-goodbye world
+hello world
+ goodbye world
7
Yannick Gingras
diff: add --inverse option...
r9725 % qdiff -w
Jason Orendorff
mq: qdiff: support all diffopts
r6668 diff -r 35fb829491c1 lines
--- a/lines
+++ b/lines
@@ -1,3 +1,5 @@
+
+
1
2
3
Martin Geisler
diff: change --inverse to --reverse...
r9857 % qdiff --reverse
Yannick Gingras
diff: add --inverse option...
r9725 diff -r 35fb829491c1 lines
--- a/lines
+++ b/lines
@@ -1,11 +1,9 @@
-
-
1
2
3
4
-hello world
- goodbye world
+hello world
+goodbye world
7
8
9
Patrick Mezard
mq: qdiff with the same diff options than qrefresh (issue1350)...
r10191 % qdiff preserve existing git flag
diff --git a/lines b/lines
--- a/lines
+++ b/lines
@@ -1,9 +1,12 @@
+
+
1
2
3
4
-hello world
-goodbye world
+hello world
+ goodbye world
7
8
9
+a
Yuya Nishihara
mq: fix opts['unified'] = '0' to take effect when qdiff --stat...
r11049 % qdiff --stat
lines | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)