diff tests/test-symlinks.t @ 15797:c7a8164c61ab

canonpath: allow canonicalization of non-existant paths Such as a copy destination; see the added test.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 08 Jan 2012 15:23:26 +0100
parents 4fee1fd3de9a
children 4f795f5fbb0b
line wrap: on
line diff
--- a/tests/test-symlinks.t	Sun Jan 08 14:33:10 2012 +0100
+++ b/tests/test-symlinks.t	Sun Jan 08 15:23:26 2012 +0100
@@ -168,11 +168,12 @@
   ? foo
   $ hg status ../link
   ? foo
+  $ hg add foo
+  $ hg cp foo "$TESTTMP/link/bar"
+  foo has not been committed yet, so no copy data will be stored for bar.
   $ cd ..
 
 
-
-
   $ hg init b
   $ cd b
   $ ln -s nothing dangling