annotate rhodecode/tests/test_hg_operations.sh @ 755:99ece4c484e1 beta

Added basic test push/pull script
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 25 Nov 2010 01:53:31 +0100
parents
children 0142dac6f3c7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
755
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 #!/bin/bash
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 repo=/tmp/vcs_test_hg_clone
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 echo 'removing repo'$repo
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 rm -rf '$repo'
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 hg clone http://test_admin:test12@127.0.0.1:5000/vcs_test_hg $repo
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 cd $repo
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 echo 'some' >> $repo/setup.py && hg ci -m 'ci1' && \
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 echo 'some' >> $repo/setup.py && hg ci -m 'ci2' && \
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 echo 'some' >> $repo/setup.py && hg ci -m 'ci3' && \
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 echo 'some' >> $repo/setup.py && hg ci -m 'ci4' && \
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 hg push
99ece4c484e1 Added basic test push/pull script
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12