##// END OF EJS Templates
fixed tags tests
fixed tags tests

File last commit:

r809:7b18e7ca beta
r874:4bace4aa beta
Show More
test_hg_operations.sh
23 lines | 593 B | application/x-sh | BashLexer
#!/bin/bash
repo=/tmp/vcs_test_hg_clone
repo_name=vcs_test_hg
user=test_admin
password=test12
echo 'removing repo '$repo
rm -rf '$repo'
hg clone http://$user:$password@127.0.0.1:5000/$repo_name $repo
cd $repo
echo 'some' >> $repo/setup.py && hg ci -m 'ci1' && \
echo 'some' >> $repo/setup.py && hg ci -m 'ci2' && \
echo 'some' >> $repo/setup.py && hg ci -m 'ci3' && \
echo 'some' >> $repo/setup.py && hg ci -m 'ci4' && \
hg push
echo 'new file' >> $repo/new_file.py
hg add $repo/new_file.py
for i in {1..15}
do
echo "line $i" >> $repo/new_file.py && hg ci -m "autocommit $i"
done
hg push