Re: Mercurial vs Updated git HOWTO for kernel hackers
From: Matt Mackall <hidden>
Date: 2005-06-27 19:43:42
Also in:
lkml
On Mon, Jun 27, 2005 at 08:31:18PM +0200, Pavel Machek wrote:
Hi!quoted
quoted
Things in git-land are moving at lightning speed, and usability has improved a lot since my post a month ago: http://lkml.org/lkml/2005/5/26/11And here's a quick comparison with the current state of Mercurial..quoted
1) installing git git requires bootstrapping, since you must have git installed in order to check out git.git (git repo), and linux-2.6.git (kernel repo). I have put together a bootstrap tarball of today's git repository. Download tarball from: http://www.kernel.org/pub/linux/kernel/people/jgarzik/git-20050622.tar.bz2 tarball build-deps: zlib, libcurl, libcrypto (openssl) install tarball: unpack && make && sudo make prefix=/usr/local install jgarzik helper scripts, not in official git distribution: http://www.kernel.org/pub/linux/kernel/people/jgarzik/git-new-branch http://www.kernel.org/pub/linux/kernel/people/jgarzik/git-changes-script After reading the rest of this document, come back and update your copy of git to the latest: rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/git.gitDownload from: http://selenic.com/mercurial/mercurial-snapshot.tar.gz Build-deps: Python 2.3 Install: unpack && python setup.py install [--home=/usr/local]Did that... (had to install python2.3-dev, first), but got... Traceback (most recent call last): File "/usr/local/bin/hg", line 11, in ? from mercurial import commands ImportError: No module named mercurial
From the README:
To install system-wide:
$ python setup.py install # change python to python2.3 if 2.2 is default
To install in your home directory (~/bin and ~/lib, actually), run:
$ python2.3 setup.py install --home=~
$ export PYTHONPATH=${HOME}/lib/python # add this to your .bashrc
$ export PATH=${HOME}/bin:$PATH #
And finally:
$ hg # test installation, show help
If you get complaints about missing modules, you probably haven't set
PYTHONPATH correctly.
--
Mathematics is the supreme nostalgia of our time.