diff tests/test-extdiff.t @ 14021:3eb632d9cf42 stable

extdiff: fix broken symlinks handling (issue1909)
author Patrick Mezard <pmezard@gmail.com>
date Fri, 29 Apr 2011 08:04:46 +0200
parents 6cc4b14fb76b
children 92b768e9f80c
line wrap: on
line diff
--- a/tests/test-extdiff.t
+++ b/tests/test-extdiff.t
@@ -167,4 +167,18 @@
   $ hg falabala -o this -c 1
   diffing this a.8a5febb7f867/a a.34eed99112ab/a
   [1]
+  $ cd ..
 
+  $ hg init testsymlinks
+  $ cd testsymlinks
+  $ echo a > a
+  $ hg ci -Am adda
+  adding a
+  $ echo a >> a
+  $ ln -s missing linka
+  $ hg add linka
+  $ hg falabala -r 0 --traceback
+  diffing testsymlinks.07f494440405 testsymlinks
+  [1]
+  $ cd ..
+