diff --git a/rhodecode/tests/test_hg_operations.sh b/rhodecode/tests/test_hg_operations.sh new file mode 100755 --- /dev/null +++ b/rhodecode/tests/test_hg_operations.sh @@ -0,0 +1,12 @@ +#!/bin/bash +repo=/tmp/vcs_test_hg_clone +echo 'removing repo'$repo +rm -rf '$repo' +hg clone http://test_admin:test12@127.0.0.1:5000/vcs_test_hg $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 +