Convert Git Repo to Darcs

天大地大妈咪最大 提交于 2019-12-12 07:46:21

问题


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.


回答1:


  1. git fast-export
  2. darcs convert import



回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/4114045/convert-git-repo-to-darcs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!