##// END OF EJS Templates
tests: unify test-confused-revert
tests: unify test-confused-revert

File last commit:

r10205:45885e8f default
r12284:f7eb1903 default
Show More
test-convert-svn-branches
29 lines | 701 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
echo "[extensions]" >> $HGRCPATH
echo "convert = " >> $HGRCPATH
Martin Geisler
tests: load with "ext =" instead of "hgext.ext ="
r10119 echo "graphlog =" >> $HGRCPATH
Patrick Mezard
Test subversion branches conversion
r5874
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'
Patrick Mezard
test-convert-svn-branches: filter unwanted output...
r10205 HG=foobar hg convert svn-repo B-hg 2>&1 | grep itself
Patrick Mezard
convert/svn: better error when hg cannot call itself (issue1838)
r9587