view tests/test-hgcia @ 11522:eaa7666ad53f stable

check-code: add test for callable
author Martin Geisler <mg@aragost.com>
date Fri, 09 Jul 2010 14:01:55 +0200
parents b80b944836ec
children
line wrap: on
line source

#!/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