##// END OF EJS Templates
Merge with crew-stable
Merge with crew-stable

File last commit:

r10119:bb5ea667 default
r10180:a9f60014 merge default
Show More
test-convert-svn-branches
34 lines | 734 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
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'
HG=foobar hg convert svn-repo B-hg 2>&1 | grep -v foobar