tests/test-hgcia
author Mads Kiilerich <mads@kiilerich.com>
Tue, 08 Sep 2009 01:26:15 +0200
changeset 9434 f5ce9b052747
parent 7438 b80b944836ec
permissions -rwxr-xr-x
test-convert-git: Use ~ instead of ^ Solaris sh interprets ^ as pipe symbol and the test thus failed in strange ways. git can however use of HEAD~ instead of HEAD^.

#!/bin/sh

cat >> $HGRCPATH <<EOF
[extensions]
hgcia=

[hooks]
changegroup.cia = python:hgext.hgcia.hook

[cia]
user = testuser
project = testproject
test = True
EOF

hg init src
hg init cia

cd src
echo foo > foo
hg ci -Amfoo

hg push ../cia