Source

phpHgAdmin / admin / application / config / phphgadmin.php

The default branch has multiple heads

<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

/******************
 * phpHgAdmin Configuration
 * 
 * You can verify this configuration by accessing checkinstall.php through a web browser.
 * checkinstall.php can be safely removed afterwards.
 *******************/
/*
 * Full URl to phpHgAdmin
 */
$config['base_url']	= "http://localhost:8080/admin/";

/******************
 * HGRC Configuration
 ****************************/
/*
 * Default available configuration of HGRC.
 * Available help language translation will be assumed to be hgphp_tooltip_hgrc_ARRAYNAME_KEY, i.e. hgphp_tooltip_hgrc_paths_default
 *
 * Create one or more common hgrc defaults which can be used for any number of profiles.
 * 
 * Shortcuts
 * %1$s = the current profile's hgserve_url
 * %2$s = the current repository's name
 */
$config['default_hgrc']['general']['paths']['default'] = '%1$s%2$s'; 
$config['default_hgrc']['general']['web']['allow_archive'] = '';
$config['default_hgrc']['general']['web']['allow_push'] = '';
$config['default_hgrc']['general']['web']['allowpull'] = '';
$config['default_hgrc']['general']['web']['allow_read'] = '';
$config['default_hgrc']['general']['web']['contact'] = '';
$config['default_hgrc']['general']['web']['description'] = '';
$config['default_hgrc']['general']['web']['name'] = '%2$s';
$config['default_hgrc']['general']['web']['push_ssl'] = '';
$config['default_hgrc']['general']['web']['style'] = '';
	
/*
 * HGRC config which are booleans. Used as hints when rendering UI input elements
 */
$config['hgrc_bools_arr']['web'] = array('allowpull', 'push_ssl');

/*********************
 * Mercurial Profiles
 *********************/
	
/*
 * The profile to use if the user does not specify one explicitly.
 */
$config['default_profile'] = 'default';
	
/*
 * Collection of profiles. Each profile has
 * ini                - absolute path and name of file used by hgwebdir.cgi to index repositories (i.e. a hgweb.config)
 * default_repo_dir   - absolute local path to folder on disk where created repositories will be saved. Trailing slash required!
 * hgserve_url        - absolute path to where Mercurial is serving the repository via web interface. Trailing slash required!
 * default_hgrc       - reference to a hgrc profile (above) or a declaration of one in the same format
 */
$config['profile']['default']['ini'] = 'C:\Users\joshjcarrier\workspace\hg-php.joshjcarrier.com\admin\lock\cgi-bin/hgweb.config';
$config['profile']['default']['default_repo_dir'] = 'C:\Users\joshjcarrier\workspace\hg-php.joshjcarrier.com\admin\lock\cgi-bin/';
$config['profile']['default']['hgserve_url'] = 'http://localhost:8080/';
$config['profile']['default']['default_hgrc'] = $config['default_hgrc']['general'];

/*
 * Manager theme - mimics available Mercurial themes
 * Valid themes: coal, gitweb, monoblue, paper
 * A blank string defaults to paper.
 */
$config['theme'] = 'paper';

/*
 * Global permission levels, which override the authenticated user's permissions.
 * For when you want to completely lock down access.
 */
$config['global_allow_repo_create'] = true;
$config['global_allow_repo_update'] = true;
$config['global_allow_repo_view'] = true;
$config['global_allow_repo_delete'] = true;

/***********************
 * Not recommended to change once deployed beyond this point
 *****************************/
	
/*
 * Lock directory. For optimistic lock management and php-ini compatability scratch space.
 * Must be writable by web server.
 */
$config['lock_dir'] = './lock/'; // abs or rel path from admin/index.php, trailing slash required
$config['lock_ofl_index'] = 'ofl_index.dat';
$config['ofl_disabled'] = false; // highly recommended not to turn the optimistic lock manager off