Mercurial > hg
changeset 327:a9ad98a9c9bc
Tweak README for branch, push, and .hgrc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tweak README for branch, push, and .hgrc
manifest hash: f1937ad49013e7e40e6555f2acf1210563e6a96d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCrhBSywK+sNU5EO8RAr0OAJ9T+DcMcIvXp9ajI46kXM40GuHosgCfRxfY
8uhwZqdaR0JWlWff0nC6t1Y=
=3I60
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Mon, 13 Jun 2005 15:01:38 -0800 |
parents | 235443668bea |
children | dac675ef6189 |
files | README |
diffstat | 1 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/README Mon Jun 13 14:53:33 2005 -0800 +++ b/README Mon Jun 13 15:01:38 2005 -0800 @@ -59,7 +59,7 @@ $ cd .. $ mkdir linux-work $ cd linux-work - $ hg branch ../linux # create a new branch + $ hg init ../linux # create a new branch $ hg update # populate the working directory $ <make changes> $ hg commit @@ -100,6 +100,9 @@ # export your current repo via HTTP with browsable interface foo$ hg serve -n "My repo" -p 80 + # pushing changes to a remote repo with SSH + foo$ hg push ssh://user@example.com/~/hg/ + # merge changes from a remote machine bar$ hg pull http://foo/ bar$ hg co # merge changes into your working directory @@ -110,10 +113,10 @@ Symbolic repository names: - Mercurial uses an optional file called ~/.hgpaths to track repo - locations symbolically. Simply add a line with the name, a space, and - a URL: + Mercurial uses an options file called ~/.hgrc. To track locations + symbolically, add a section to it like this: - foo$ echo "main http://selenic.com/hg/" >> ~/.hgpaths - foo$ hg merge main - foo$ hg co + [paths] + main = http://selenic.com/hg + hgweb = http://edge2.net/hg/hgweb/ + hgdoc = http://edge2.net/hg/man/