Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hg-fastimport, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size hg_fastimport-0.1.1-py3-none-any.whl (38.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hg-fastimport-0.1.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page