# HG changeset patch # User mpm@selenic.com # Date 1117996972 28800 # Node ID 3dae0296551d27572df4da4ea454738a558059c6 # Parent d7ce76d82876ec9ad0072539e7af5b4cf0eee375 Update README -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Update README manifest hash: 6c869ba7478b4fead8cffa88bfb704a03ec918b3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCo0esywK+sNU5EO8RAtEYAJ4r+9tCMQKO0vkRx+gWolO7p5iXhwCfbKf5 41ghEeWPQrFXPv2GMruR7t0= =o1eg -----END PGP SIGNATURE----- diff -r d7ce76d82876 -r 3dae0296551d README --- a/README Sun Jun 05 00:42:44 2005 -0800 +++ b/README Sun Jun 05 10:42:52 2005 -0800 @@ -34,7 +34,7 @@ $ hg diff # generate a unidiff $ hg addremove # add all unknown files and remove all missing files $ hg commit # commit all changes, edit changelog entry - $ hg export # export a changeset as a diff + $ hg export # export a changeset as a diff Mercurial will look for a file named .hgignore in the root of your repository contains a set of regular expressions to ignore in file @@ -44,8 +44,8 @@ $ hg history # show changesets $ hg log Makefile # show commits per file - $ hg checkout # check out the tip revision - $ hg checkout # check out a specified changeset + $ hg update # check out the tip revision + $ hg update # check out a specified changeset # IDs can be tags, revision numbers, or unique # subsets of changeset hash numbers $ hg add foo # add a new file for the next commit @@ -60,11 +60,13 @@ $ mkdir linux-work $ cd linux-work $ hg branch ../linux # create a new branch - $ hg checkout # populate the working directory + $ hg update # populate the working directory $ $ hg commit $ cd ../linux - $ hg merge ../linux-work # pull changesets from linux-work + $ hg pull ../linux-work # pull changesets from linux-work + $ hg update # merge the new tip from linux-work into + # our working directory Importing patches: @@ -92,15 +94,15 @@ # pull the self-hosting hg repo foo$ hg init - foo$ hg merge http://selenic.com/hg/ - foo$ hg checkout # hg co works too + foo$ hg pull http://selenic.com/hg/ + foo$ hg update # hg co works too # export your current repo via HTTP with browsable interface foo$ hg serve -n "My repo" -p 80 # merge changes from a remote machine - bar$ hg merge http://foo/ - bar$ hg co # checkout the result + bar$ hg pull http://foo/ + bar$ hg co # merge changes into your working directory # Set up a CGI server on your webserver foo$ cp hgweb.cgi ~/public_html/hg-linux/index.cgi