Is anyone else playing with git? I have a work-in-progress import
script that may be of interest. Started last weekend on a boring ferry
trip, it's evolving in the evenings.
Very limited but will import one "branch" into one "head". The basics
are for it to follow branches, and some support for marking merges (or
at least what git would consider merges). Imports are reasonably fast,
about ~1s per changeset on slow hardware.
An example invocation to import the "sears-ldap-dev" branch is:
mkdir sample-import
cd sample-import;
git-archimport-script -t /tmp/some/dir -i \
-A [EMAIL PROTECTED] sears-ldap--dev
It now:
- handles commit timestamps correctly
- handles binary files correctly
- uses parselog() to tell git-update-cache what's been
added/deleted/modified - much faster commits on large trees
- gets the commit msgs mostly ok
In my immediate TODO:
- handling renames
- branches opening in the right place
- incremental import
A bit further off:
- file modes
- merge detection
cheers,
martin
_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users
GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/