Skip to content

Workarounds

mast-eu edited this page Feb 2, 2019 · 2 revisions

Workarounds while waiting for the Git Extensions SVN plugin

1. Configure scripts in Git Extensions

Go to Repository > Repository settings and open the section Git Extensions > Scripts. Here you can add scripts like these: svn_scripts1

  1. Name: Pick any name you like, p.e. SVN Fetch, SVN Rebase and SVN DCommit.
  2. Command: Always git.
  3. Arguments: svn fetch, svn rebase and svn dcommit, respectively.
  4. On event: (Optional) Ok, ShowInUserMenubar is not really an event. But it will make the scripts accessible from the menu bar.
  5. Add to revision grid context menu: (Optional) Check this to have the scripts accessible from the context menu (right clicking on revision graph).
  6. Icon: (Optional) Pick the icons you like, p.e. PullFetch, PullRebase and Push.
  7. Hotkeys: (Optional) Open the section Git Extensions > Hotkeys and define keyboard shortcuts for your scripts.

Now you will see this: svn_scripts2

2. Use the console

You can use either Git Extensions' integrated console or the normal Windows command line, both work the same way.

For SVN Fetch, SVN Rebase and SVN DCommit, respectively type:

git svn fetch
git svn rebase
git svn dcommit

Note: The revision graph is not automatically refreshed after these commands. You need to do it manually.

For SVN Clone type:

cd C:\local\dir
git svn clone --stdlayout http://example.com/svn/repository local_repo

These commands correspond to the old Git Extensions dialog. SVN clone dialog

Clone this wiki locally