# -*- coding: ascii; tab-width: 4 -*- Info2: << Package: hg-fastimport-py%type_pkg[python] Version: 20180204 Revision: 3 Type: python (2.7) Description: Fastimport extension for mercurial DescDetail: << The "fast import" format originates with Git, where it is used as the generic backend for converting other SCM repositories to git. It's generic enough that it can be used to feed a Mercurial repository as well, and that's what this extension does: read a "fast import" stream and turn it into changesets in a Mercurial repository. The potential of this extension is that any foreign SCM that can be converted to Git can also be converted to Mercurial, regardless of the capabilities of Mercurial's own ConvertExtension. The catch is that the conversion is a little cumbersome: first convert to a fast-import dump, then feed that dump to Mercurial. Add 'hgfastimport=' to the [extensions] section of ~/.hgrc to enable. << Maintainer: Daniel Johnson License: GPL2 Homepage: https://www.mercurial-scm.org/wiki/FastImportExtension Source: https://bitbucket.org/danielj7/hg-fastimport/get/v%v.tar.bz2 SourceRename: hg-fastimport-%v.tar.bz2 Source-Checksum: SHA256(539141aecfbad4601c69fe48c4805a178b5ec2e449d1d6e9aba7b2dd68cdb948) SourceDirectory: danielj7-hg-fastimport-b430ff2d72fc PatchFile: %{ni}.patch PatchFile-MD5: e739a169fb04e22e00fc043ce5610930 # Something changed causing this SHA1 to be different in this test. PatchScript: << %{default_script} perl -pi -e 's/b4709b6ae328/a3b6d4c264db/' tests/test-fastimport-cvs2git-fixup.out << Depends: python%type_pkg[python], python-fastimport-py%type_pkg[python] (>= 0.9.6-2), mercurial-py%type_pkg[python] (>= 4.5-1) BuildDepends: fink (>= 0.24.12) CompileScript: %p/bin/python%type_raw[python] -m compileall hgfastimport InfoTest: << TestScript: << ln -s %p/bin/python%type_raw[python] python cd tests && PATH="%b:$PATH" PYTHONPATH=%b %p/bin/python%type_raw[python] run-tests.py --with-hg=%p/bin/hg-py%type_pkg[python] || exit 2 << << InstallScript: << mkdir -p %i/lib/python%type_raw[python]/site-packages cp -R hgfastimport %i/lib/python%type_raw[python]/site-packages << DocFiles: COPYING README.txt <<