Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


[2922d1]: run_pre_test Maximize Restore History

Download this file

run_pre_test    29 lines (16 with data), 322 Bytes


set -e

root=`hg root`
cd "$root"

name=`basename "$root"`

rm -rf ../"$name"_test

hg clone -U . ../"$name"_test

cd ../"$name"_test

hg update tip

./run_2to3 > /dev/null

./testpyke -3.1

python3.1 -q sdist --formats zip

cd dist
sfile=`echo pyke*.zip`
mv $sfile pyke3${sfile#pyke}

echo Success!