On Tue, Nov 11, 2008 at 02:30:15PM +1100, "Trent W. Buck" <[EMAIL PROTECTED]> wrote: > Miklos Vajna <[EMAIL PROTECTED]> writes: > > I'm happy to announce a small project I recently stated to work > > on. It's a darcs backend for fast importers. > > > > This means that it allows you to export patches/commits from a darcs > > repo and import to any version control system where a fast importer is > > implemented. > > Is there such a "fast importer" implementation for Darcs?
OK, there is now, in the last few days I worked on this a lot. :-) The next version (not yet released, but available in source control) version comes with a darcs-fast-import script as well. > If so, when you compose the export and import procedures, are the input > and output repositories congruent? When you export a repo to this "fast-import stream" format, then import it to darcs again the repo is almost the same. Known differences are: - the fast-import stream requires you to have the author in a "foo <bar>" format, so in case the original darcs repo had author formats like a single mail address there will a "[EMAIL PROTECTED]" vs "user <[EMAIL PROTECTED]>" difference and such. - conflicts are dropped, just like during the darcs1 -> darcs2 conversion (but of course result is the same) To make life easier I also created a wrapper script called x2d, which can convert git, hg and bzr repos to darcs using darcs-fast-import. It support incremental import as well. I have some (23 at the moment) unit tests for this, but feedback is always welcome - probably not all cases are covered by my test scripts.
pgpCmVUYJUu26.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
