Mercurial > hg > mercurial-crew-with-dirclash
comparison README @ 204:161cef501e8d
README: integrate various changes and suggestions from Rafael Villar Burke
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
README: integrate various changes and suggestions from Rafael Villar Burke
manifest hash: ce1999b3ffc19c1dca582355e32e1ea9b8d108f0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCnVL+ywK+sNU5EO8RAnfRAJ9eIlaxdzExbvQUlvaofk+aWMfzUgCfTmeb
4DfwOHsb8IreNXRs00jJtJI=
=mt6J
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Tue, 31 May 2005 22:17:34 -0800 |
parents | 089594a5bbde |
children | d255d99a7cbd |
comparison
equal
deleted
inserted
replaced
203:0b486b5e0796 | 204:161cef501e8d |
---|---|
1 Setting up Mercurial in your home directory: | 1 Setting up Mercurial: |
2 | 2 |
3 Note: Debian fails to include bits of distutils, you'll need | 3 Note: some distributions fails to include bits of distutils by |
4 python-dev to install. Alternately, shove everything somewhere in | 4 default, you'll need python-dev to install. |
5 your path. | 5 |
6 First, unpack the source: | |
6 | 7 |
7 $ tar xvzf mercurial-<ver>.tar.gz | 8 $ tar xvzf mercurial-<ver>.tar.gz |
8 $ cd mercurial-<ver> | 9 $ cd mercurial-<ver> |
9 $ python2.3 setup.py install --home ~ | 10 |
11 Then to install: | |
12 | |
13 $ python setup.py install # change python to python2.3 if 2.2 is default | |
14 | |
15 To install in your home directory (~/bin and ~/lib, actually), simply | |
16 run: | |
17 | |
18 $ python2.3 setup.py install --home=~ | |
10 $ export PYTHONPATH=${HOME}/lib/python # add this to your .bashrc | 19 $ export PYTHONPATH=${HOME}/lib/python # add this to your .bashrc |
20 $ export PATH=${HOME}/bin:$PATH # | |
11 $ export HGMERGE=tkmerge # customize this | 21 $ export HGMERGE=tkmerge # customize this |
22 | |
23 And finally: | |
24 | |
12 $ hg # test installation, show help | 25 $ hg # test installation, show help |
13 | 26 |
14 If you get complaints about missing modules, you probably haven't set | 27 If you get complaints about missing modules, you probably haven't set |
15 PYTHONPATH correctly. | 28 PYTHONPATH correctly. |
16 | 29 |
84 | 97 |
85 # Set up a CGI server on your webserver | 98 # Set up a CGI server on your webserver |
86 foo$ cp hgweb.cgi ~/public_html/hg-linux/index.cgi | 99 foo$ cp hgweb.cgi ~/public_html/hg-linux/index.cgi |
87 foo$ emacs ~/public_html/hg-linux/index.cgi # adjust the defaults | 100 foo$ emacs ~/public_html/hg-linux/index.cgi # adjust the defaults |
88 | 101 |
89 # Give symbolic names to repos | 102 Symbolic repository names: |
90 foo$ echo "main http://selenic.com/hg/" >> ~/.hgpaths # one pair per line | 103 |
104 Mercurial uses an optional file called ~/.hgpaths to track repo | |
105 locations symbolically. Simply add a line with the name, a space, and | |
106 a URL: | |
107 | |
108 foo$ echo "main http://selenic.com/hg/" >> ~/.hgpaths | |
91 foo$ hg merge main | 109 foo$ hg merge main |
92 foo$ hg co | 110 foo$ hg co |