The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms."
The hgsetup script sets up a user's ~/.hgrc (hgrc(5)) file for development of ON (OS/Net) with Mercurial.
It populates the author and email fields with the user's information. It loads the Cadmium extension. It aliases canonical repositories for onnv-gate. It configures Mercurial to use appropriate merge tools.
10 -f Force the user's ~/.hgrc to be overwritten if one already exists
10 -c Override the path to the Cadmium extension for Mercurial to load
10 -m Override the default merge configuration, such that a single specified tool is used.
10 -n Specify the name to use for commits (default is taken from passwd file)
10 -e Specify the email address to use for commits. For SWAN users the default is taken from an LDAP query, otherwise -e is mandatory.
10 -p Specify an http_proxy to use for interacting with HTTP repositories
10 -s Override the path to the Mercurial style file
Generates a .hgrc file in the user's home directory.
hgrc(5), hg(1),