the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: hg-fast-export
Version: 20120222
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://nodeload.github.com/danielj7/fast-export/tarball/%v
Source-MD5: 1038d6edab4f2d61a5f205489a327bb1
SourceRename: %n-%v.tar.gz
SourceDirectory: danielj7-fast-export-a958c12
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* hg-fast-export.txt
<<