##// END OF EJS Templates
tests: use "%HG_ARGS%" in shell alias on Windows instead of "$HG_ARGS"...
FUJIWARA Katsunori -
r23093:a3fee83d stable
parent child Browse files
Show More
@@ -394,9 +394,18 b' command provided extension, should be ab'
394 $ cat >> .hg/hgrc <<EOF
394 $ cat >> .hg/hgrc <<EOF
395 > [extensions]
395 > [extensions]
396 > hgext.rebase =
396 > hgext.rebase =
397 > EOF
398 #if windows
399 $ cat >> .hg/hgrc <<EOF
400 > [alias]
401 > rebate = !echo this is %HG_ARGS%
402 > EOF
403 #else
404 $ cat >> .hg/hgrc <<EOF
397 > [alias]
405 > [alias]
398 > rebate = !echo this is \$HG_ARGS
406 > rebate = !echo this is \$HG_ARGS
399 > EOF
407 > EOF
408 #endif
400 $ hg reba
409 $ hg reba
401 hg: command 'reba' is ambiguous:
410 hg: command 'reba' is ambiguous:
402 rebase rebate
411 rebase rebate
General Comments 0
You need to be logged in to leave comments. Login now