Files
@ 73434499fa72
Branch filter:
Location: kallithea/rhodecode/tests/test_hg_operations.sh - annotation
73434499fa72
593 B
text/x-sh
merges for stable
99ece4c484e1 99ece4c484e1 0142dac6f3c7 0142dac6f3c7 0142dac6f3c7 0142dac6f3c7 99ece4c484e1 0142dac6f3c7 99ece4c484e1 99ece4c484e1 99ece4c484e1 99ece4c484e1 99ece4c484e1 99ece4c484e1 99ece4c484e1 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da 7b18e7ca66da | #!/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
|