test-diff-ignore-whitespace.out
289 lines
| 4.1 KiB
| text/plain
|
TextLexer
/ tests / test-diff-ignore-whitespace.out
Vadim Gelfer
|
r2594 | adding foo | ||
>>> two diffs showing three added lines <<< | ||||
Matt Mackall
|
r4878 | hg diff | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Vadim Gelfer
|
r2594 | + | ||
hello world | ||||
+ | ||||
goodbye world | ||||
+ | ||||
Matt Mackall
|
r4878 | hg diff -b | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Vadim Gelfer
|
r2594 | + | ||
hello world | ||||
+ | ||||
goodbye world | ||||
+ | ||||
>>> no diffs <<< | ||||
Matt Mackall
|
r4878 | hg diff -B | ||
hg diff -Bb | ||||
Vadim Gelfer
|
r2594 | >>> four diffs showing added space first on the first line <<< | ||
Matt Mackall
|
r4878 | hg diff | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | -hello world | ||
+ hello world | ||||
goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -b | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | -hello world | ||
+ hello world | ||||
goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -B | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | -hello world | ||
+ hello world | ||||
goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -Bb | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | -hello world | ||
+ hello world | ||||
goodbye world | ||||
>>> two diffs showing space appended to the first line <<< | ||||
Matt Mackall
|
r4878 | hg diff | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | -hello world | ||
+hello world | ||||
goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -B | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | -hello world | ||
+hello world | ||||
goodbye world | ||||
>>> no diffs <<< | ||||
Matt Mackall
|
r4878 | hg diff -b | ||
hg diff -Bb | ||||
Vadim Gelfer
|
r2594 | >>> four diffs showing space inserted into "goodbye" <<< | ||
Matt Mackall
|
r4878 | hg diff | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
-goodbye world | ||||
+good bye world | ||||
Matt Mackall
|
r4878 | hg diff -B | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
-goodbye world | ||||
+good bye world | ||||
Matt Mackall
|
r4878 | hg diff -b | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
-goodbye world | ||||
+good bye world | ||||
Matt Mackall
|
r4878 | hg diff -Bb | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
-goodbye world | ||||
+good bye world | ||||
>>> two diffs showing changed whitespace amount in the last line <<< | ||||
Matt Mackall
|
r4878 | hg diff | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
-goodbye world | ||||
+goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -B | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
-goodbye world | ||||
+goodbye world | ||||
>>> no diffs <<< | ||||
Matt Mackall
|
r4878 | hg diff -b | ||
hg diff -Bb | ||||
Vadim Gelfer
|
r2594 | >>> four diffs showing added blank line w/horizontal space <<< | ||
Matt Mackall
|
r4878 | hg diff | ||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,3 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
+ | ||||
goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -B | ||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,3 @@ | ||
Matt Mackall
|
r4878 | hello world | ||
+ | ||||
goodbye world | ||||
hg diff -b | ||||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,3 @@ | ||
Vadim Gelfer
|
r2594 | hello world | ||
+ | ||||
goodbye world | ||||
Matt Mackall
|
r4878 | hg diff -Bb | ||
>>> three diffs showing added blank line w/other space <<< | ||||
hg diff | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,3 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+hello world | ||||
+ | ||||
+goodbye world | ||||
hg diff -B | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,3 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+hello world | ||||
+ | ||||
+goodbye world | ||||
hg diff -b | ||||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,3 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+hello world | ||||
Vadim Gelfer
|
r2594 | + | ||
Matt Mackall
|
r4878 | +goodbye world | ||
hg diff -Bb | ||||
>>> four diffs showing changed whitespace <<< | ||||
hg diff | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+goodbye world | ||||
hg diff -B | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+goodbye world | ||||
hg diff -b | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+goodbye world | ||||
hg diff -Bb | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,2 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+goodbye world | ||||
hg diff -w | ||||
>>> five diffs showing changed whitespace <<< | ||||
hg diff | ||||
Vadim Gelfer
|
r2594 | diff -r 540c40a65b78 foo | ||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+ | ||||
+ | ||||
+ | ||||
+goodbye world | ||||
hg diff -B | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+ | ||||
+ | ||||
+ | ||||
+goodbye world | ||||
hg diff -b | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+ | ||||
+ | ||||
+ | ||||
+goodbye world | ||||
hg diff -Bb | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+ | ||||
+ | ||||
+ | ||||
+goodbye world | ||||
hg diff -w | ||||
diff -r 540c40a65b78 foo | ||||
--- a/foo | ||||
+++ b/foo | ||||
Matt Mackall
|
r5863 | @@ -1,2 +1,5 @@ | ||
Matt Mackall
|
r4878 | -hello world | ||
-goodbye world | ||||
+helloworld | ||||
+ | ||||
+ | ||||
+ | ||||
+goodbye world | ||||
hg diff -wB | ||||