##// END OF EJS Templates
run-tests: give each child its own tmp dir (issue1911)...
run-tests: give each child its own tmp dir (issue1911) Fixes bug introduced by f8b4df4b033d (issue1911: --tmpdir plus parallel mode = fail), and also fixes the long-standing quirk that parallel mode created multiple /tmp/hgtests.XXXXXX directories. Now there is only one /tmp/hgtests.XXXXXX, with child0, child1, etc. under it.

File last commit:

r9587:d80a251b default
r9899:be574a37 stable
Show More
test-convert-svn-branches
34 lines | 740 B | text/plain | TextLexer
/ tests / test-convert-svn-branches
Patrick Mezard
Test subversion branches conversion
r5874 #!/bin/sh
"$TESTDIR/hghave" svn svn-bindings || exit 80
fix_path()
{
tr '\\' /
}
echo "[extensions]" >> $HGRCPATH
echo "convert = " >> $HGRCPATH
echo "hgext.graphlog =" >> $HGRCPATH
svnadmin create svn-repo
Patrick Mezard
Rewrite svn tests using svndump...
r7475 cat "$TESTDIR/svn/branches.svndump" | svnadmin load svn-repo > /dev/null
Patrick Mezard
Test subversion branches conversion
r5874
echo % convert trunk and branches
Michael J. Pedersen
convert: adding branchmap functionality to convert extension
r8377 cat >branchmap <<EOF
old3 newbranch
EOF
Patrick Mezard
test-convert-svn-*: no longer need the url building code
r8765 hg convert --branchmap=branchmap --datesort -r 10 svn-repo A-hg
Patrick Mezard
Test subversion branches conversion
r5874
echo % convert again
Patrick Mezard
test-convert-svn-*: no longer need the url building code
r8765 hg convert --branchmap=branchmap --datesort svn-repo A-hg
Patrick Mezard
Test subversion branches conversion
r5874
cd A-hg
Martin Geisler
tests: replace #...# syntax with {...}
r8523 hg glog --template 'branch={branches} {rev} {desc|firstline} files: {files}\n'
Patrick Mezard
Test subversion branches conversion
r5874 hg branches | sed 's/:.*/:/'
hg tags -q
cd ..
Patrick Mezard
convert/svn: better error when hg cannot call itself (issue1838)
r9587
echo '% test hg failing to call itself'
HG=foobar hg convert svn-repo B-hg 2>&1 | grep -v foobar