##// END OF EJS Templates
dispatch: provide help for disabled extensions and commands...
dispatch: provide help for disabled extensions and commands Before a command is declared unknown, each extension in hgext is searched, starting with hgext.<cmdname>. If there's a matching command, a help message suggests the appropriate extension and how to enable it. Every extension could potentially be imported, but for cases like rebase, relink, etc. only one extension is imported. For the case of "hg help disabledext", if the extension is in hgext, the extension description is read and a similar help suggestion is printed. No extension import occurs.

File last commit:

r9827:4fe9ca51 default
r10364:de1e7099 default
Show More
test-diff-ignore-whitespace.out
281 lines | 3.9 KiB | text/plain | TextLexer
/ tests / test-diff-ignore-whitespace.out
Vadim Gelfer
add missed tests for diff -b/-B
r2594 adding foo
>>> two diffs showing three added lines <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 +
hello world
+
goodbye world
+
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -b
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 +
hello world
+
goodbye world
+
>>> no diffs <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -B
hg diff -Bb
Vadim Gelfer
add missed tests for diff -b/-B
r2594 >>> four diffs showing added space first on the first line <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 -hello world
+ hello world
goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -b
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 -hello world
+ hello world
goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -B
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 -hello world
+ hello world
goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -Bb
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 -hello world
+ hello world
goodbye world
>>> two diffs showing space appended to the first line <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 -hello world
+hello world
goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -B
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 -hello world
+hello world
goodbye world
>>> no diffs <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -b
hg diff -Bb
Vadim Gelfer
add missed tests for diff -b/-B
r2594 >>> four diffs showing space inserted into "goodbye" <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
-goodbye world
+good bye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -B
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
-goodbye world
+good bye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -b
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
-goodbye world
+good bye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -Bb
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
-goodbye world
+good bye world
>>> two diffs showing changed whitespace amount in the last line <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
-goodbye world
+goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -B
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
-goodbye world
+goodbye world
>>> no diffs <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -b
hg diff -Bb
Vadim Gelfer
add missed tests for diff -b/-B
r2594 >>> four diffs showing added blank line w/horizontal space <<<
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,3 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
+
goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -B
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,3 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hello world
+
goodbye world
hg diff -b
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,3 @@
Vadim Gelfer
add missed tests for diff -b/-B
r2594 hello world
+
goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
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
diff: don't show function name by default...
r5863 @@ -1,2 +1,3 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
-goodbye world
+hello world
+
+goodbye world
hg diff -B
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,3 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
-goodbye world
+hello world
+
+goodbye world
hg diff -b
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,3 @@
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 hello world
Vadim Gelfer
add missed tests for diff -b/-B
r2594 +
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -Bb
>>> four diffs showing changed whitespace <<<
hg diff
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
-goodbye world
+helloworld
+goodbye world
hg diff -B
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
-goodbye world
+helloworld
+goodbye world
hg diff -b
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
+helloworld
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -Bb
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,2 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
+helloworld
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -w
>>> five diffs showing changed whitespace <<<
hg diff
Vadim Gelfer
add missed tests for diff -b/-B
r2594 diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
-goodbye world
+helloworld
+
+
+
+goodbye world
hg diff -B
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
-goodbye world
+helloworld
+
+
+
+goodbye world
hg diff -b
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
+helloworld
+
+
+
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -Bb
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 -hello world
+helloworld
+
+
+
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -w
diff -r 540c40a65b78 foo
--- a/foo
+++ b/foo
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,2 +1,5 @@
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 hello world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 +
+
+
Patrick Mezard
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)...
r9827 goodbye world
Matt Mackall
diff: correctly handle combinations of whitespace options
r4878 hg diff -wB