Skip to contentSkip to conversation

status of git interop with other VCS

DISCUSSION Paul Wise 3 participants 4 messages Jun 15, 2016

lore
Share & tools
lore

Paul Wise

author
#0 lore raw

Hi all,

I thought I would summarise current status of interop between git and other remote VCSen. In particular I am interested in good git remote helpers for cvs, svn, hg, darcs and bzr. git-svn and the like are useful but git remote helpers are better because they map everything onto the git model better.

cvs: there seems to have been a project but it was never merged:

http://marc.info/?l=git&m=127279549623477&w=2
http://thread.gmane.org/gmane.comp.version-control.git/131620/focus=131632

svn: there was a gsoc project for this but it was never merged:

http://git.wiki.kernel.org/index.php/SoC2011Projects#Remote_helper_for_Subversion_and_git-svn

hg: there are a few projects for this, none are merged:

git://github.com/SRabbelier/git.git
http://marc.info/?l=git&m=134153749521450&w=2

darcs: can't find any project to add this, please let me know of one

bzr: git-remote-bzr is part of bzr-git but it is quite buggy, hopefully this will improve over time though.

Signature · 4 lines
bye,
pabs

http://bonedaddy.net/pabs3/
author
#1 lore raw
Quoted 2 lines · Paul Wise

bzr: git-remote-bzr is part of bzr-git but it is quite buggy, hopefully this will improve over time though.

I've now learned that the main upstream for bzr-git is slowly stepping down from his involvement in Bazaar and Bazaar packaging, so if there is anyone interested in git-remote-bzr, now is the time to get involved.

Signature · 4 lines
bye,
pabs

http://bonedaddy.net/pabs3/
#3 lore raw
Quoted 8 lines · Ramkumar Ramachandra

Hi Paul,

Quoted 3 lines · Paul Wise

svn: there was a gsoc project for this but it was never merged:

http://git.wiki.kernel.org/index.php/SoC2011Projects#Remote_helper_for_Subversion_and_git-svn

I wouldn't give up on that yet. What is the status of fa/remote-helper?

An excerpt from recent "What's cooking":

* fa/remote-svn (2012-08-28) 16 commits
- Add a test script for remote-svn
- remote-svn: add marks-file regeneration
- Add a svnrdump-simulator replaying a dump file for testing
- remote-svn: add incremental import
- remote-svn: Activate import/export-marks for fast-import
- Create a note for every imported commit containing svn metadata
- vcs-svn: add fast_export_note to create notes
- Allow reading svn dumps from files via file:// urls
- remote-svn, vcs-svn: Enable fetching to private refs
- When debug==1, start fast-import with "--stats" instead of "--quiet"
- Add documentation for the 'bidi-import' capability of remote-helpers
- Connect fast-import to the remote-helper via pipe, adding 'bidi-import' capability
- Add argv_array_detach and argv_array_free_detached
- Add svndump_init_fd to allow reading dumps from arbitrary FDs
- Add git-remote-testsvn to Makefile and .gitignore
- Implement a remote helper for svn in C
(this branch is used by fa/vcs-svn.)

A GSoC project. Looked promising.
Waiting for comments from mentors and stakeholders.

* fa/vcs-svn (2012-08-28) 4 commits
- vcs-svn: remove repo_tree
- vcs-svn/svndump: rewrite handle_node(), begin|end_revision()
- vcs-svn/svndump: restructure node_ctx, rev_ctx handling
- svndump: move struct definitions to .h
(this branch uses fa/remote-svn.)

A GSoC project. Looked promising.
Waiting for comments from mentors and stakeholders.