##// END OF EJS Templates
Added tag v1.1.6 for changeset c5af1d3c861f
Added tag v1.1.6 for changeset c5af1d3c861f

File last commit:

r809:7b18e7ca beta
r1166:07a23d9c default
Show More
test_hg_operations.sh
23 lines | 593 B | application/x-sh | BashLexer
/ rhodecode / tests / test_hg_operations.sh
Added basic test push/pull script
r755 #!/bin/bash
repo=/tmp/vcs_test_hg_clone
fixed journal helper, little test update,...
r790 repo_name=vcs_test_hg
user=test_admin
password=test12
echo 'removing repo '$repo
Added basic test push/pull script
r755 rm -rf '$repo'
fixed journal helper, little test update,...
r790 hg clone http://$user:$password@127.0.0.1:5000/$repo_name $repo
Added basic test push/pull script
r755 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
extended hg push test script
r809 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