Mercurial > hg > hg-fastimport
changeset 67:d88ce26e0946
README: improve dependency instructions.
| author | Greg Ward <greg@gerg.ca> |
|---|---|
| date | Sun, 26 Jul 2015 12:42:36 -0400 |
| parents | ae32828c68d7 |
| children | 47bc97e1c46f |
| files | README.txt |
| diffstat | 1 files changed, 16 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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:
