Mercurial extension for importing a git fast-import stream.
Project description
hg-fastimport
WARNING: this extension is incomplete and lightly tested. It is currently intended for Mercurial developers or particularly daring users.
hg-fastimport is a Mercurial extension for importing Git’s fast-import dumps into Mercurial. fast-import is a file format for representing the entire history of a version control repository.
This file format was designed to make it easier to write tools which convert from foreign (non-Git) VCS repository formats into Git; such tools exist for CVS, Mercurial, Darcs, and Perforce.
How to Install
Using Pip
You can install the latest released version using pip:
$ pip install --user hg-fastimport
Then enable it in yourn hgrc:
[extensions] fastimport =
From Source
To install a local version from source:
$ hg clone https://roy.marples.name/hg/hg-fastimport/ $ cd hg-fastimport $ pip install --user .
Then enable it in your hgrc:
[extensions] fastimport =
How to Use
To import into a brand-new Mercurial repository:
$ hg init new $ cd new $ hg fastimport --datesort FILE...
where FILE… is a list of one or more fast-import dumps.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hg-fastimport-0.1.1.tar.gz
.
File metadata
- Download URL: hg-fastimport-0.1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6c7e791f822a6901cff79b6d22f68dcd9c1c83debb167573fe12aaf5ead41d |
|
MD5 | 7830547a7d148565cb9dc85bd0e548cb |
|
BLAKE2b-256 | 947684d07983da8b66dd44b72a7ed2de17a7654a925784f90cde9e6abbffaa95 |
File details
Details for the file hg_fastimport-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: hg_fastimport-0.1.1-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d19846f3331b911f1d9a91c1a07ffc685bb2f5afc56740a3075f08ebbbc7216 |
|
MD5 | ea793b08ec7510fc57867cd87e8fe438 |
|
BLAKE2b-256 | 771387ef2d43764fc26d179a13b63ebd07f26c371999192e871fc7ed425e9399 |