diff tests/test-largefiles.t @ 21087:3fb2affb023f

largefiles: make cat on standins do something cat of a standin would silently fail. The use of standins is mostly an implementation detail, but it is already a bit leaking. Being able to see the content of standins might be convenient for debugging.
author Mads Kiilerich <madski@unity3d.com>
date Sat, 27 Apr 2013 23:19:52 +0200
parents 20b0c49c032c
children e095626e8676
line wrap: on
line diff
--- a/tests/test-largefiles.t	Sun Apr 13 18:45:43 2014 +0200
+++ b/tests/test-largefiles.t	Sat Apr 27 23:19:52 2013 +0200
@@ -1506,6 +1506,12 @@
   large4-modified
   $ hg --cwd sub cat -r '.^' ../normal3
   normal3-modified
+Cat a standin
+  $ hg cat .hglf/sub/large4
+  e166e74c7303192238d60af5a9c4ce9bef0b7928
+  $ hg cat .hglf/normal3
+  .hglf/normal3: no such file in rev 598410d3eb9a
+  [1]
 
 Test that renaming a largefile results in correct output for status