##// END OF EJS Templates
Do not use osutil.c with python 2.4 and Windows (issue1364)...
Do not use osutil.c with python 2.4 and Windows (issue1364) Windows python 2.4 os.stat() reports times including DST offset, while osutil.c reports the correct value, which makes status() systematically compare files content. This bug is fixed in python 2.5. Using osutil.py instead of osutil.c is 4x times slower on large repositories but current code is completely unusable. Given few people are likely to use python 2.4 on Windows this solution was considered a good trade-off compared to more invasive solutions trying to address the offset issue.

File last commit:

r10205:45885e8f default
r10521:bde1bb25 stable
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