view tests/test-hgcia @ 9513:ae88c721f916

cmdutil: service: add an optional runargs argument to pass the command to run This would be necessary for inotify launching its server: the initial command is a standard 'hg st'/'hg ci'/... but the daemon to run is 'hg inserve'
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sun, 16 Aug 2009 11:30:24 +0900
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