update README.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Thu, 04 May 2006 21:44:09 -0700
changeset 2208 12e36dedf668
parent 2207 8a2a7f7d9df6
child 2209 956e329f9e13
update README. fix issue 225. do not use deprecated commands in examples.
README
--- a/README	Thu May 04 15:47:18 2006 -0700
+++ b/README	Thu May 04 21:44:09 2006 -0700
@@ -11,13 +11,16 @@
  $ tar xvzf mercurial-<ver>.tar.gz
  $ cd mercurial-<ver>
 
+ When installing, change python to python2.3 or python2.4 if 2.2 is the
+ default on your system.
+
  To install system-wide:
 
- $ python setup.py install   # change python to python2.3 if 2.2 is default
+ $ python setup.py install --force
 
  To install in your home directory (~/bin and ~/lib, actually), run:
 
- $ python2.3 setup.py install --home=~
+ $ python setup.py install --home=${HOME} --force
  $ export PYTHONPATH=${HOME}/lib/python  # (or lib64/ on some systems)
  $ export PATH=${HOME}/bin:$PATH         # add these to your .bashrc
 
@@ -30,10 +33,12 @@
 
 Setting up a Mercurial project:
 
- $ cd project/
- $ hg init         # creates .hg
- $ hg addremove    # add all unknown files and remove all missing files
- $ hg commit       # commit all changes, edit changelog entry
+ $ hg init project     # creates project directory
+ $ cd project
+                       # copy files in, edit them
+ $ hg add              # add all unknown files
+ $ hg remove --after   # remove deleted files
+ $ hg commit           # commit all changes, edit changelog entry
 
  Mercurial will look for a file named .hgignore in the root of your
  repository which contains a set of regular expressions to ignore in
@@ -47,7 +52,7 @@
  $ hg commit
  $ cd ../linux
  $ hg pull ../linux-work     # pull changesets from linux-work
- $ hg update -m              # merge the new tip from linux-work into
+ $ hg merge                  # merge the new tip from linux-work into
                              # our working directory
  $ hg commit                 # commit the result of the merge
 
@@ -55,8 +60,7 @@
 
  Fast:
  $ patch < ../p/foo.patch
- $ hg addremove
- $ hg commit
+ $ hg commit -A
 
  Faster:
  $ patch < ../p/foo.patch
@@ -87,7 +91,7 @@
 
  # merge changes from a remote machine
  bar$ hg pull http://foo/
- bar$ hg update -m        # merge changes into your working directory
+ bar$ hg merge   # merge changes into your working directory
 
  # Set up a CGI server on your webserver
  foo$ cp hgweb.cgi ~/public_html/hg/index.cgi