Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343067 - Add support for command line "jgit svn" compatible with "git svn"
Summary: Add support for command line "jgit svn" compatible with "git svn"
Status: RESOLVED WONTFIX
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P5 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-17 11:37 EDT by arnaud.nauwynck Nauwynck CLA
Modified: 2011-08-14 21:00 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.