diff tests/test-diff-unified.t @ 23299:1f510efcd5f3

mdiff.unidiff: add support for noprefix
author Siddharth Agarwal <sid0@fb.com>
date Wed, 12 Nov 2014 23:29:14 -0800
parents dc4d0c7b7d94
children f8b5c3e77d4b
line wrap: on
line diff
--- a/tests/test-diff-unified.t	Thu Nov 13 00:13:48 2014 -0800
+++ b/tests/test-diff-unified.t	Wed Nov 12 23:29:14 2014 -0800
@@ -93,8 +93,8 @@
 
   $ hg --config diff.noprefix=True diff --nodates
   diff -r cf9f4ba66af2 a
-  --- a/a
-  +++ b/a
+  --- a
+  +++ a
   @@ -2,7 +2,7 @@
    c
    a
@@ -106,8 +106,8 @@
    c
   $ hg diff --noprefix --nodates
   diff -r cf9f4ba66af2 a
-  --- a/a
-  +++ b/a
+  --- a
+  +++ a
   @@ -2,7 +2,7 @@
    c
    a
@@ -135,8 +135,8 @@
    c
   $ HGPLAIN=1 hg diff --noprefix --nodates
   diff -r cf9f4ba66af2 a
-  --- a/a
-  +++ b/a
+  --- a
+  +++ a
   @@ -2,7 +2,7 @@
    c
    a
@@ -235,8 +235,8 @@
   diff --git a/f1 b/f 1
   rename from f1
   rename to f 1
-  --- a/f1
-  +++ b/f 1	
+  --- f1
+  +++ f 1	
   @@ -1,1 +1,1 @@
   -a
   +b
@@ -256,8 +256,8 @@
   diff --git a/f1 b/f 1
   rename from f1
   rename to f 1
-  --- a/f1
-  +++ b/f 1	
+  --- f1
+  +++ f 1	
   @@ -1,1 +1,1 @@
   -a
   +b