bzr-p4 progress

Jelmer Vernooij jelmer at samba.org
Fri Sep 25 23:02:28 BST 2009


On Fri, 2009-09-25 at 17:54 -0400, Matt McClure wrote:
> On Fri, Sep 25, 2009 at 5:39 PM, Jelmer Vernooij <jelmer at samba.org> wrote:
> >> Jelmer, or others, interested in helping out?
> > Is there a branch with the initial foreign branch code? lp:bzrp4 seems
> > to only contain code that's based on fastexport/fastimport.
> 
> That's the one.  For Perforce-to-Bazaar I use p4-fast-export, bzr
> fast-import.  For Bazaar-to-Perforce, bzr2p4 executes Perforce
> commands.
> 
> I was planning to wrap the fast-export/fast-import code and bzr2p4 so
> that they can be accessed via Bazaar commands.  What do you think?
Doesn't fast-export/fast-import only do full history conversions?

I imagine it would be problematic to e.g. implement methods like
Branch.last_revision(),  Branch.revision_id_to_revno() or
Repository.get_parent_map() based on fast-import/fast-export without
doing a full history conversion each time.

Cheers,

Jelmer


-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org



More information about the bazaar mailing list