hgsetup(1ONBLD) illumos Build Tools hgsetup(1ONBLD)

NAME

hgsetup - sets up a user's ~/.hgrc for development of ON with Mercurial

SYNOPSIS

hgsetup [-f] [-c cdm_path] [-m merge_path] [-n name] [-e email] [-p proxy] [-s style_path]

DESCRIPTION

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.

OPTIONS

-f
Force the user's ~/.hgrc to be overwritten if one already exists
-c
Override the path to the Cadmium extension for Mercurial to load
-m
Override the default merge configuration, such that a single specified tool is used.
-n
Specify the name to use for commits (default is taken from passwd file)
-e
Specify the email address to use for commits. For SWAN users the default is taken from an LDAP query, otherwise -e is mandatory.
-p
Specify an http_proxy to use for interacting with HTTP repositories
-s
Override the path to the Mercurial style file

OUTPUT

Generates a .hgrc file in the user's home directory.

SEE ALSO

hgrc(5), hg(1),
2 October 2008