hg-importfs imports a set of files from a given file-system into a Mercurial repository as a changeset.
The development of this extension was paid for by Lantiq. It was written and released as Open Source by Markus Zapke-Gründemann.
Repository: https://bitbucket.org/keimlink/hg-importfs/overview
Installation
It is assumed that you already have Mercurial installed. If not, please do so first either by downloading and installing the appropriate package for your operating system or by using pip:
pip install Mercurial
As a Python package
The easiest way is to install the importfs extension is to use pip:
pip install hg-importfs
Using easy_install instead of pip is also possible:
easy_install hg-importfs
Now add the extension to the extensions section in your .hgrc/mercurial.ini file:
[extensions]
importfs =
As a Mercurial repository
Instead of installing the Python package you can also clone the repository:
hg clone https://bitbucket.org/keimlink/hg-importfs
To activate the extension you have to add the full path to importfs.py to your .hgrc/mercurial.ini file:
[extensions]
importfs = /path/to/hg-importfs/importfs.py
Usage
After installing the extension you can use the following command to show the full help including all options:
hg help importfs
What is new in this release:
- Improved installation instructions
Requirements:
- Python
- Mercurial
Comments not found