tests/test-cat.t
changeset 35006 8154119ed236
parent 32584 746e12a767b3
child 35007 407ec7f3ff02
equal deleted inserted replaced
35005:aad6b9fdfc75 35006:8154119ed236
   117 Environment variable visibility can be explicit
   117 Environment variable visibility can be explicit
   118 
   118 
   119   $ PATTERN='t4' hg log -r '.' -T "{envvars % '{key} -> {value}\n'}" \
   119   $ PATTERN='t4' hg log -r '.' -T "{envvars % '{key} -> {value}\n'}" \
   120   >                 --config "experimental.exportableenviron=PATTERN"
   120   >                 --config "experimental.exportableenviron=PATTERN"
   121   PATTERN -> t4
   121   PATTERN -> t4
       
   122 
       
   123 Test behavior of output when directory structure does not already exist
       
   124 
       
   125   $ mkdir foo
       
   126   $ echo a > foo/a
       
   127   $ hg add foo/a
       
   128   $ hg commit -qm "add foo/a"
       
   129   $ mkdir output
       
   130   $ hg cat --output "output/%p" foo/a
       
   131   abort: No such file or directory: output/foo/a
       
   132   [255]