Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Contribution: Support for git-svn

> I’m forced to use SVN at my new company so I use git-svn bridge to
> have at least git available locally.
> 
> How much effort would you expect for a regular java guy to include
> git-svn support into egit. Is egit the right location at all or
> would it be better to integrate to jgit first, in order to bring it
> to egit later on?

See Matthias reply for how to best integrate it.


As for implementation, it highly depends on how you intend to do it.

If you want to reimplement git-svn in Java, you would at least have
to provide implementations of "git svn fetch" and "git svn dcommit".
The best way to learn about how this could be implemented is probably
to look at the sources in the Perl implementation:

https://github.com/git/git/tree/master/perl/Git/SVN

Personally, I don't think re-implementing git-svn is worth it.
Maybe just creating some actions for launching "git svn" outside of
Eclipse and ensuring that the repository is refreshed would be enough.


Also note that there are alternatives to client-side implementation,
e.g. SubGit (haven't used it though):

http://subgit.com/


By the way, if you haven't already seen it, here is the EGit bug report
about git-svn, where you should document your progress if you decide
to go ahead with the implementation:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=315264


Cheers,
  Robin Stocker


Back to the top