Fixed issue 110, SyncMercurial error and undocumented requirement.
Added the documentation.
This commit is contained in:
parent
fccdcaa878
commit
c11cd7bc62
@ -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_notify'] = '/home/indefero/tmp/notify.tmp';
|
||||||
$cfg['idf_plugin_syncmercurial_private_url'] = '/hg/%s';
|
$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
|
## Cron configuration
|
||||||
|
|
||||||
As InDefero modifies the private_indefero.conf, apache needs to be reloaded.
|
As InDefero modifies the private_indefero.conf, apache needs to be reloaded.
|
||||||
|
@ -4,7 +4,7 @@ private_notify="/home/indefero/tmp/notify.tmp"
|
|||||||
reload_cmd="/usr/sbin/apachectl -k graceful"
|
reload_cmd="/usr/sbin/apachectl -k graceful"
|
||||||
|
|
||||||
if [ -e $private_notify ]; then
|
if [ -e $private_notify ]; then
|
||||||
$reload_cmd
|
|
||||||
rm -f $private_notify
|
rm -f $private_notify
|
||||||
|
$reload_cmd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user