# -*- coding: ascii; tab-width: 4 -*- Info2: << Package: hg-fast-export Version: 20130722 Revision: 1 Type: py (2.7) Description: Hg to git converter using git-fast-import DescDetail: << hg-fast-export.sh is a script to import a mercurial repo into a git repo using the git-fast-import mechanism. Everything is licensed under the MIT license except for hg-reset.py which is GPL2 since it uses code from mercurial. << DescUsage: << Using hg-fast-export is quite simple for a mercurial repository : mkdir repo-git # or whatever cd repo-git git init hg-fast-export.sh -r Incremental imports to track hg repos is supported, too. Using hg-reset it is quite simple within a git repository that is hg-fast-export'ed from mercurial: hg-reset.sh -R will give hints on which branches need adjustment for starting over again. << Maintainer: Daniel Johnson License: GPL2 Homepage: http://repo.or.cz/w/fast-export.git Source: https://codeload.github.com/danielj7/fast-export/tar.gz/%v Source-MD5: 8d4c9ee240e383c620301ab7a51139c2 SourceRename: %n-%v.tar.gz SourceDirectory: fast-export-%v Depends: << git, mercurial-py%type_pkg[py], python%type_pkg[py] << PatchScript: << perl -pi -e 's|PYTHON=.*$|PYTHON="%p/bin/python%type_raw[py]"|' hg-fast-export.sh hg-reset.sh perl -pi -e 's|/usr/bin/env python|%p/bin/python%type_raw[py]|' hg-fast-export.py hg-reset.py << CompileScript: << %p/bin/python%type_raw[py] -m compileall hg2git.py << InstallScript: << mkdir -p %i/bin cp hg-fast-export.py hg-fast-export.sh %i/bin cp hg-reset.py hg-reset.sh %i/bin mkdir -p %i/share/man/man1 cp *.1 %i/share/man/man1 mkdir -p %i/lib/python%type_raw[py]/site-packages cp hg2git* %i/lib/python%type_raw[py]/site-packages << DocFiles: COPYING* README <<