1 hgsetup(1ONBLD) illumos Build Tools hgsetup(1ONBLD) 2 3 4 5 NAME 6 hgsetup - sets up a user's ~/.hgrc for development of ON with Mercurial 7 8 SYNOPSIS 9 hgsetup [-f] [-c cdm_path] [-m merge_path] [-n name] [-e email] [-p 10 proxy] [-s style_path] 11 12 DESCRIPTION 13 The hgsetup script sets up a user's ~/.hgrc (hgrc(5)) file for 14 development of ON (OS/Net) with Mercurial. 15 16 It populates the author and email fields with the user's information. 17 It loads the Cadmium extension. It aliases canonical repositories for 18 onnv-gate. It configures Mercurial to use appropriate merge tools. 19 20 OPTIONS 21 -f Force the user's ~/.hgrc to be overwritten if one already 22 exists 23 24 -c Override the path to the Cadmium extension for Mercurial to 25 load 26 27 -m Override the default merge configuration, such that a single 28 specified tool is used. 29 30 -n Specify the name to use for commits (default is taken from 31 passwd file) 32 33 -e Specify the email address to use for commits. For SWAN users 34 the default is taken from an LDAP query, otherwise -e is 35 mandatory. 36 37 -p Specify an http_proxy to use for interacting with HTTP 38 repositories 39 40 -s Override the path to the Mercurial style file 41 42 OUTPUT 43 Generates a .hgrc file in the user's home directory. 44 45 SEE ALSO 46 hgrc(5), hg(1), 47 48 49 50 2 October 2008 hgsetup(1ONBLD)