diff tests/test-encode @ 6093:f5b00b6e426a

Option --decode for hg cat to apply decode filters. (Does not trigger expansion of keyword arguments when using keyword extension, though that might be desirable as well.)
author Jesse Glick <jesse.glick@sun.com>
date Sat, 09 Feb 2008 13:05:22 -0500
parents c0b449154a90
children 3998c1b0828f
line wrap: on
line diff
--- a/tests/test-encode	Wed Feb 13 23:49:57 2008 +0100
+++ b/tests/test-encode	Sat Feb 09 13:05:22 2008 -0500
@@ -32,3 +32,11 @@
 
 echo %% uncompress our new working dir copy
 gunzip < a.gz
+
+echo %% check hg cat operation
+hg cat a.gz
+hg cat -d a.gz | gunzip
+mkdir subdir
+cd subdir
+hg -R .. cat ../a.gz
+hg -R .. cat -d ../a.gz | gunzip