|
From: | David Reitter |
Subject: | Re: Switching CEDET from CVS to a Distributed VCS. |
Date: | Thu, 25 Jun 2009 14:24:40 -0400 |
On Jun 25, 2009, at 1:48 PM, Stephen J. Turnbull wrote:
I believe Bazaar now supports fastimport format in both directions. Interaction between git and Bazaar probably means you lose/munge VCS-specific metadata (Bazaar cares about revision numbers while git doesn't support them at all, and the revision ID formats are timestamp-specific in each VCS, so converting those in a roundtrippable way would require great care) in each direction, but with minimal care you should be able to preserve the history dag and core meta data (author information).
fast-import (bzr->git at least) keeps an index to facilitate fast incremental exports. Suppose one has a commit in the git repo to be committed to the Bzr repo, would it be possible to
1. convert a git patch (git-format-patch) to a Bazaar merge directive? 2. use fast-import/export to export just the patch?
[Prev in Thread] | Current Thread | [Next in Thread] |