tests/test-rhg.t
changeset 46748 bde90e9b4507
parent 46735 12d59eec7f1d
child 46874 84a93fa7ecfd
equal deleted inserted replaced
46747:b1e6265e8336 46748:bde90e9b4507
   148   unsupported feature: `rhg cat` without `--rev` / `-r`
   148   unsupported feature: `rhg cat` without `--rev` / `-r`
   149   [252]
   149   [252]
   150   $ rhg cat original
   150   $ rhg cat original
   151   original content
   151   original content
   152 
   152 
       
   153   $ FALLBACK_EXE="$RHG_FALLBACK_EXECUTABLE"
       
   154   $ unset RHG_FALLBACK_EXECUTABLE
       
   155   $ rhg cat original
       
   156   abort: 'rhg.on-unsupported=fallback' without 'rhg.fallback-executable' set.
       
   157   [255]
       
   158   $ RHG_FALLBACK_EXECUTABLE="$FALLBACK_EXE"
       
   159   $ export RHG_FALLBACK_EXECUTABLE
       
   160 
   153   $ rhg cat original --config rhg.fallback-executable=false
   161   $ rhg cat original --config rhg.fallback-executable=false
   154   [1]
   162   [1]
   155 
   163 
   156   $ rhg cat original --config rhg.fallback-executable=hg-non-existent
   164   $ rhg cat original --config rhg.fallback-executable=hg-non-existent
   157   tried to fall back to a 'hg-non-existent' sub-process but got error $ENOENT$
   165   tried to fall back to a 'hg-non-existent' sub-process but got error $ENOENT$