##// END OF EJS Templates
test-merge-tools: create repo directory to free $TESTTMP for temporary files
Yuya Nishihara -
r38049:a4a5c308 default
parent child Browse files
Show More
@@ -1,7 +1,8 b''
1 test merge-tools configuration - mostly exercising filemerge.py
1 test merge-tools configuration - mostly exercising filemerge.py
2
2
3 $ unset HGMERGE # make sure HGMERGE doesn't interfere with the test
3 $ unset HGMERGE # make sure HGMERGE doesn't interfere with the test
4 $ hg init
4 $ hg init repo
5 $ cd repo
5
6
6 revision 0
7 revision 0
7
8
@@ -1446,7 +1447,7 b" premerge=keep is used and has 'detailed'"
1446 merging f
1447 merging f
1447 labellocal: "working copy"
1448 labellocal: "working copy"
1448 labelother: "merge rev"
1449 labelother: "merge rev"
1449 output (arg): "$TESTTMP/f"
1450 output (arg): "$TESTTMP/repo/f"
1450 output (contents):
1451 output (contents):
1451 <<<<<<< working copy: uitmpl 1
1452 <<<<<<< working copy: uitmpl 1
1452 revision 1
1453 revision 1
@@ -1485,7 +1486,7 b' mergemarkers=detailed; labellocal and la'
1485 merging f
1486 merging f
1486 labellocal: "working copy: tooltmpl ef83787e2614"
1487 labellocal: "working copy: tooltmpl ef83787e2614"
1487 labelother: "merge rev: tooltmpl 0185f4e0cf02"
1488 labelother: "merge rev: tooltmpl 0185f4e0cf02"
1488 output (arg): "$TESTTMP/f"
1489 output (arg): "$TESTTMP/repo/f"
1489 output (contents):
1490 output (contents):
1490 <<<<<<< working copy: tooltmpl ef83787e2614
1491 <<<<<<< working copy: tooltmpl ef83787e2614
1491 revision 1
1492 revision 1
@@ -1585,7 +1586,7 b' Verify naming of temporary files and tha'
1585 $ hg update -q -C 2
1586 $ hg update -q -C 2
1586 $ hg merge -y -r tip --tool echo --config merge-tools.echo.args='$base $local $other $output'
1587 $ hg merge -y -r tip --tool echo --config merge-tools.echo.args='$base $local $other $output'
1587 merging f and f.txt to f.txt
1588 merging f and f.txt to f.txt
1588 */f~base.* */f~local.*.txt */f~other.*.txt $TESTTMP/f.txt (glob)
1589 */f~base.* */f~local.*.txt */f~other.*.txt $TESTTMP/repo/f.txt (glob)
1589 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
1590 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
1590 (branch merge, don't forget to commit)
1591 (branch merge, don't forget to commit)
1591
1592
@@ -1600,7 +1601,7 b' Verify naming of temporary files and tha'
1600 > --config merge-tools.echo.args='$base $local $other $output' \
1601 > --config merge-tools.echo.args='$base $local $other $output' \
1601 > --config experimental.mergetempdirprefix=$TESTTMP/hgmerge.
1602 > --config experimental.mergetempdirprefix=$TESTTMP/hgmerge.
1602 merging f and f.txt to f.txt
1603 merging f and f.txt to f.txt
1603 $TESTTMP/hgmerge.*/f~base $TESTTMP/hgmerge.*/f~local.txt $TESTTMP/hgmerge.*/f~other.txt $TESTTMP/f.txt (glob)
1604 $TESTTMP/hgmerge.*/f~base $TESTTMP/hgmerge.*/f~local.txt $TESTTMP/hgmerge.*/f~other.txt $TESTTMP/repo/f.txt (glob)
1604 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
1605 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
1605 (branch merge, don't forget to commit)
1606 (branch merge, don't forget to commit)
1606
1607
@@ -1668,3 +1669,5 b' specified file as expected'
1668 couldn't find merge tool true (for pattern f)
1669 couldn't find merge tool true (for pattern f)
1669 couldn't find merge tool true
1670 couldn't find merge tool true
1670 f = false
1671 f = false
1672
1673 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now