Convert Git Repo to Darcs
Asked Answered
S

3

12

I would like to move a git repo I have to darcs. I have not been able to find docs or projects that explain how to do this; it looks like most users want to go the other way. In addition, being able to control a git repo from darcs would be cool to.

Sibelle answered 6/11, 2010 at 16:45 Comment(3)
What made you want to transition to darcs? What did git lack?Izzard
Darcs's design is far more interesting to me and for this project darcs is a better fit since it is used more by the community.Sibelle
See also the new discussion "currently preferred way to import history from Git" of January 2015.Trossachs
B
10
  1. git fast-export
  2. darcs convert import
Bitstock answered 6/11, 2010 at 17:27 Comment(2)
darcs-fast-import link now dead.Wanderjahr
As is the project, apparently (mostly). The answer is 7 years old. Looks like the functionality now ships built in with Darcs. I’ve updated the answer accordingly.Bitstock
K
7

darcs-fastconvert has been updated to version 0.2 : http://lists.osuosl.org/pipermail/darcs-users/2010-November/025670.html I think this now is the safest way to do git <-> darcs bridging.

Kurr answered 24/11, 2010 at 0:18 Comment(0)
K
5

I'd like to add to gh_'s answer. darcs-bridge (formerly darcs-fastconvert) also uses the fast-export format. It is built on the Darcs library (by a darcs developer) and can be installed via cabal. It also supports marks file, which if I understand correctly, would allow for incremental conversion.

EDIT darcs-fastconvert has been superseded by the Darcs bridge. I've updated the link

Kwapong answered 26/11, 2010 at 8:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.