diff tests/test-largefiles.t @ 18491:b7da9c042b9e stable

largefiles: fix cat when using relative paths from subdirectory
author Mads Kiilerich <madski@unity3d.com>
date Fri, 25 Jan 2013 18:20:13 +0100
parents 877f80599df0
children ef60083b5536
line wrap: on
line diff
--- a/tests/test-largefiles.t	Fri Jan 25 16:59:34 2013 +0100
+++ b/tests/test-largefiles.t	Fri Jan 25 18:20:13 2013 +0100
@@ -1412,8 +1412,10 @@
   normal3-modified
   $ hg cat -r '.^' normal3
   normal3-modified
-  $ hg cat -r '.^' sub/large4
+  $ hg cat -r '.^' sub/large4 doesntexist
   large4-modified
+  doesntexist: no such file in rev a381d2c8c80e
+  [1]
 
 Test that renaming a largefile results in correct output for status
 
@@ -2010,6 +2012,8 @@
   $ echo more >> anotherlarge
   $ hg st .
   M anotherlarge
+  $ hg cat anotherlarge
+  anotherlarge
   $ hg revert anotherlarge
   $ hg st
   ? sub/anotherlarge.orig