# HG changeset patch # User Greg Ward # Date 1437928956 14400 # Node ID d88ce26e0946d3909dec6b13ef66813bf2ad4e6c # Parent ae32828c68d7a926d184fb10cde3c4e4ed3200bc README: improve dependency instructions. diff -r ae32828c68d7 -r d88ce26e0946 README.txt --- a/README.txt Sun Jul 26 14:32:32 2015 -0400 +++ b/README.txt Sun Jul 26 12:42:36 2015 -0400 @@ -25,24 +25,27 @@ DEPENDENCIES ------------ -hg-fastimport requires Mercurial 1.3. +hg-fastimport depends on: + + * Mercurial 1.6, 1.7, or 1.8 + * python-fastimport -hg-fastimport depends on the python-fastimport library (which was extracted -from bzr-fastimport). python-fastimport lives on launchpad.net at +The easiest way to get python-fastimport to use OS packages. E.g. for +Debian and Ubuntu: - https://code.launchpad.net/python-fastimport + sudo aptitude install python-fastimport -To make the 'fastimport' package provided by python-fastimport available -to hg-fastimport, you need to add the python-fastimport directory to -PYTHONPATH, e.g. +Likewise for Fedora: - PYTHONPATH=$HOME/src/pyfastimport + sudo yum install python-fastimport + +On other operating systems, you can install from PyPI: -It should also be possible to install python-fastimport from cheeshop: + pip install fastimport - $ easy_install install python-fastimport +If all else fails, you can find the source for python-fastimport here: -And most Linux distributions have it packaged. + https://github.com/jelmer/python-fastimport USAGE ----- @@ -51,8 +54,8 @@ fastimport = /path/to/hg-fastimport/hgfastimport -to the [extensions] section of your hgrc. Don't forget to set -PYTHONPATH as explained above. +to the [extensions] section of your hgrc. Don't forget to install +python-fastimport as explained above. To import into a brand-new Mercurial repository: