##// END OF EJS Templates
tests: stabilize test-fix.t on Windows...
Matt Harbison -
r43208:a2dffe68 default
parent child Browse files
Show More
@@ -1297,7 +1297,7 b' reasonable with that.'
1297
1297
1298 $ cat >> .hg/hgrc <<EOF
1298 $ cat >> .hg/hgrc <<EOF
1299 > [fix]
1299 > [fix]
1300 > printcwd:command = pwd
1300 > printcwd:command = "$PYTHON" -c "import os; print(os.getcwd())"
1301 > printcwd:pattern = path:foo/bar
1301 > printcwd:pattern = path:foo/bar
1302 > EOF
1302 > EOF
1303
1303
@@ -1382,9 +1382,15 b' changes.'
1382 $ printf "a\nc\n" > foo
1382 $ printf "a\nc\n" > foo
1383 $ printf "a\nx\nc\n" > baz
1383 $ printf "a\nx\nc\n" > baz
1384
1384
1385 $ cat >> print.py <<EOF
1386 > import sys
1387 > for a in sys.argv[1:]:
1388 > print(a)
1389 > EOF
1390
1385 $ hg fix --working-dir foo bar baz \
1391 $ hg fix --working-dir foo bar baz \
1386 > --config 'fix.changedlines:command=printf "Line ranges:\n"; ' \
1392 > --config "fix.changedlines:command=\"$PYTHON\" print.py \"Line ranges:\"" \
1387 > --config 'fix.changedlines:linerange=printf "{first} through {last}\n"; ' \
1393 > --config 'fix.changedlines:linerange="{first} through {last}"' \
1388 > --config 'fix.changedlines:pattern=rootglob:**' \
1394 > --config 'fix.changedlines:pattern=rootglob:**' \
1389 > --config 'fix.changedlines:skipclean=false'
1395 > --config 'fix.changedlines:skipclean=false'
1390
1396
General Comments 0
You need to be logged in to leave comments. Login now