Test-AutoBuild
view release on metacpan or search on metacpan
t/110-Repository-Darcs-init.sh view on Meta::CPAN
rm -rf scratch
mkdir scratch
cd scratch
mkdir repos
mkdir repos/trunk
cd repos/trunk
darcs initialize
echo "Fred Bloggs <fred@example.org>" > _darcs/prefs/author
echo 0 > a
perl -e 'print "0h ", time, "\n";' >> ../revs.txt
darcs add a
darcs record -am 'Initial import'
sleep $SLEEP
t/110-Repository-Darcs-init.sh view on Meta::CPAN
sleep $SLEEP
cd ..
darcs get trunk branch
sleep $SLEEP
cd branch
echo "Fred Bloggs <fred@example.org>" > _darcs/prefs/author
echo 3 > a
darcs record -am 'Change 3 on branch' a
perl -e 'print "3b ", time, "\n";' >> ../revs.txt
sleep $SLEEP
cd ../trunk
darcs pull -a ../branch
sleep $SLEEP
( run in 2.319 seconds using v1.01-cache-2.11-cpan-5a3173703d6 )