Import of git, darcs, mercurial

Asked by Bert Burgemeister

Do you have any plans about importing from other repository formats, especially git, darcs and mercurial? The mirroring and collaboration feature is of limited use if some of the projects involved are not stored in one of the supported formats.

Revision history for this message
Michael Hudson-Doyle (mwhudson) said :
#1

Yes. I'll link this question to the relevant bug reports.

Revision history for this message
Michael Hudson-Doyle (mwhudson) said :
#2

Hm, can't find a bug report for hg, but as the current plan is to do git via a fast-import stream, hg won't be much more work.

As it's not very clear from the bug reports, it's probably worth mentioning that this feature is on the radar, but still at least a few months away.

Revision history for this message
Saša Janiška (gour) said :
#3

Hi!

Any news about importing e.g. darcs?

We are accustomed to use darcs, but would like to use LP and provide bzr branches.

Sincerely,
Gour

Revision history for this message
Tim Penhey (thumper) said :
#4

Importing from git and hg is in our plans, but importing from darcs is not.

I'd suggest asking the bazaar developers for ways to import from darcs to bzr, either on the email list or the #bzr irc channel.

Revision history for this message
Saša Janiška (gour) said :
#5

Hi Tim,

thank you for your reply.

Is the reason for not importing from darcs of the technical nature (darcs is somewhat different beast), or due to darcs not being so widely used DVCS?

Yes, I know for several ways how to imort from darcs to bzr, but I was hoping for some kind of 'incremental' import from the LP side...

Sincerely,
Gour

Revision history for this message
Tim Penhey (thumper) said :
#6

Do you know of any ways to do an incremental import from darcs?

Revision history for this message
Saša Janiška (gour) said :
#7

Hi Tim!

You might find the following bug interesting: https://bugs.launchpad.net/bzr-fastimport/+bug/232177

One option is Tailor (http://progetti.arstecnica.it/tailor) and another is darcs-fast-export
(http://vmiklos.hu/project/darcs-fast-export/)

Please, let me know if you need some more info.

Sincerely,
Gour

Revision history for this message
Saša Janiška (gour) said :
#8

@TIm: If you missed it, but now darcs-fast-export is merged into bzr-fast-import which would make importing darcs repo quite easy.

Pls. check https://launchpad.net/bzr-fastimport.

Sincerely,
Gour

Revision history for this message
qubodup (qubodup) said :
#9

A feature to link to an existing repository in https://launchpad.net/nikki/trunk/+setbranch would be nice, so users can be easily guided to the actual location of the code, when import is impossible. (Darcs in this case)

Can you help with this problem?

Provide an answer of your own, or ask Bert Burgemeister for more information if necessary.

To post a message you must log in.