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),