Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343067

Summary: Add support for command line "jgit svn" compatible with "git svn"
Product: [Technology] JGit Reporter: arnaud.nauwynck Nauwynck <arnaud.nauwynck>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P5 CC: pwebster, sop
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description arnaud.nauwynck Nauwynck CLA 2011-04-17 11:37:56 EDT
The git-svn command shipped with the official distribution of GIT is usefull for interoperability between remote subversion server, and local git repository.

It is therefore extremely usefull for users wanting to migrate to GIT smoothly, while legacy code repositories are still running on subversion servers, without mirrors.

The following commands line should be supported:
1) git svn init ... 
   for importing svn (as a client) to a local git repository
2) git svn fetch ... 
   for fetching (i.e. "svn update") into remote refs svn
3) git svn rebase ...
   for merging remote ref
4) git svn dcommit ...
   for commiting changes to svn (i.e. "svn commit")

As you might know, the legacy git-svn command is extremely slow (forking thousands of svn + perl sub-processes), and very often crashes.
However, it might be a good idea to preserve backward compatibility with this git-svn command, by reusing the same internals files as git-svn stores in the .git/ directory.
Comment 1 Shawn Pearce CLA 2011-05-16 10:22:29 EDT
This is a huge amount of work. Nobody is going to reimplement git-svn in JGit.
Comment 2 Shawn Pearce CLA 2011-08-14 21:00:09 EDT
Nobody is going to reimplement git svn in Java.