Fixed issue 110, SyncMercurial error and undocumented requirement.

Added the documentation.
dev
Loic d'Anterroches 2009-01-26 09:44:32 +01:00
parent fccdcaa878
commit c11cd7bc62
2 changed files with 15 additions and 1 deletions

View File

@ -54,6 +54,20 @@ need to put the following lines in your configuration file:
$cfg['idf_plugin_syncmercurial_private_notify'] = '/home/indefero/tmp/notify.tmp';
$cfg['idf_plugin_syncmercurial_private_url'] = '/hg/%s';
You also need to provide the base definition of the hgrc file. For example:
$cfg['idf_plugin_syncmercurial_hgrc'] = array(
'web' => array('push_ssl' => 'false',
'allow_push' => '',
'description' => '',
'allow_archive' => 'bz2, zip, gz',
'style' => 'gitweb',
'contact' => ''),
'hooks' => array(),
'extensions' => array(),
);
## Cron configuration
As InDefero modifies the private_indefero.conf, apache needs to be reloaded.

View File

@ -4,7 +4,7 @@ private_notify="/home/indefero/tmp/notify.tmp"
reload_cmd="/usr/sbin/apachectl -k graceful"
if [ -e $private_notify ]; then
$reload_cmd
rm -f $private_notify
$reload_cmd
fi