How do i set up SVN in the editor?

Hello how would i set up our SVN server into UE4s editor?

My guys are going to set it up as a separate thing not tied into Unreal. That’s how we did Unity. I use TortoiseHG and Mercurial for source control.

Hi Eternal,

We don’t handle setting up the SVN or P4 server for you; but if you already have one or set one up, you can tell the editor to use it and do things like check files out/in, view revision history, etc… from the editor.

The editor currently has source control plugins for both Perforce and SVN. Perforce is what we use internally at Epic, and it is now free for up to 20 users (and 20 workspaces; you’ll probably end up using 2 or 3 per human user). SVN is totally free and there are a number of cloud SVN providers if you don’t want to host your own server.

You can tell if your editor is currently connected to source control by the little icon on the top right of the main frame, next to the [Enter console command] prompt. If the icon is green, you are already connected, but if it shows up as a red no sign then click on it to enter your server settings.

2431-sourcecontroldisabled.png

2432-sourcecontrolenabled.png

Once you are connected, there will be additional options in the content browser menu, such as Check Out, History, etc…

Note for 4.0.1

The version of the engine downloaded through the Launcher in 4.0.1 does not come with the SVN and Perforce binaries, and will not work with SVN without a workaround (explained below). The Launcher version should work with Perforce if you already have a client installed, though you may have to manually input your workspace name. This will be fixed in a future release, but if you want to use SVN with the Launcher version, you can work around it with the steps below.

  1. Go to VisualSVN | All Downloads and download the Apache Subversion command line tools.
  2. Open the zip file and go into the “bin” folder.
  3. Open Windows Explorer to your engine installation path’s …\Engine\Binaries\ThirdParty\ folder (default would be C:\Program Files\Unreal Engine\4.0\Engine\Binaries\ThirdParty).
  4. In ThirdParty, create a folder named “svn” (no quotes).
  5. In “svn”, create a folder named “Win64” (also no quotes).
  6. Extract all of the EXE and DLL files from the zip file’s “bin” folder into “…\svn\Win64”
  7. Start up the editor and enjoy using SVN.

Cheers,
Michael Noland