SVN on OSX 10.10 hangs forever, works manually from cli

I’m facing an issue with all versions of UE 4 on OSX 10.10 where I attempt to setup svn settings in editor. When I hit accept window just hangs forever. I’m left with following processes (I have blanked out username and password) still running and never exiting:

tbruno           5377   4.5  3.6  3967384 601296   ??  U     3:47PM   0:29.86 /Users/Shared/UnrealEngine/4.5/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor /Users/tbruno/Documents/Unreal Projects/OperationElsa/OperationElsa.uproject
tbruno            469   0.0  2.9  3678088 479776   ??  S     2:42PM   1:29.92 /Applications/Unreal Engine.app/Contents/MacOS/UnrealEngineLauncher-Mac-Shipping
tbruno           6284   0.0  0.0  2523816   7956   ??  S     3:48PM   0:00.06 ../../../Engine/Binaries/ThirdParty/svn/Mac/bin/svn status --show-updates --verbose --xml /Users/tbruno/Documents/Unreal Projects/OperationElsa/ --non-interactive --trust-server-cert --username tebruno99 --password *******

When I run exact same svn status command UE4 is trying manually svn status command works just fine and terminates with correct output. For some reason though when UE4Editor attempts to call svn status it just hangs forever (at least 2 hours).

I don’t have anything to add to your post, except that I am seeing same issue here, and I am also able to run command by hand successfully.

I’ll try a few things tomorrow and report back (I have a couple of ideas…).

Edit: I just tried swapping out UE4’s internal svn binaries with some fresh ones from Homebrew and it made no difference unfortunately. I hoped that perhaps it was a SVN bug but I guess it’s probably not.

I’ve got a Windows machine here too with UE4 (which is actually why I started down this path, so I could share easily between them). I’ll try on that tomorrow and see if it’s broken there too.

I’ve had same issue. I made an extensive post here: Cannot login to Source Control in OS X Editor - Pipeline & Plugins - Epic Developer Community Forums

I’ve had no issues with connecting Windows Editor to Source Control.

This issue is being tracked as UE-9429.

Same issue. Tom, can you direct me to site where I can track issue. I have same exact issue. I can’t believe SVN is broken again.

Is this issue still present in 4.7.5?

Not that it’s entirely a solution, but my studio has been using Versions on OS X as our SVN client. And it’s worked really well (much better then Command Line Tools). Here’s a link to their site: http://versionsapp.com/

only downside is that you have to remember to manually add new files, and manually lock them if you want to “check out” a file. But we’re a small studio so it works for us.

It most certainly is :frowning:

Try removing all trailing slashes from repository and labels directory fields & try again. I can login successfully (on Mac) to an SVN server on CloudForge when I don’t have trailing slashes & it fails if I add them with errors being described here.

I’m not using cloudforg anymore. I have no trailing slashes in URL. Just hangs.

Make sure you’ve executed following on Terminal:

/Path/To/UE4/Engine/Binaries/ThirdParty/svn/Mac/bin/svn info --username=your_username https://path/to/repository

Replacing /Path/To/UE4 with actual path to your UE4 Engine directory, your_username with your SVN login & path/to/repository with actual path to SVN repo.

This should prompt you to enter your password, or authorise SVN to access keychain for it, in which case click Always Allow.

Nope. No prompt for password. Still hanging. :frowning: Is there a way to remove all settings for svn and have it rebuild them from square-one?

You’ll only get prompt for password when executing command on Terminal without supplying password as argument. You won’t get a keychain prompt from UE4. You have to do this with UE4’s svn binary not system’s svn, otherwise it will not work without manually entering password each time you wish to connect.

If Terminal doesn’t give you a prompt then you’ve already either permitted or denied UE4’s svn binary to use Keychain.

I used terminal and command as you suggested. No prompt. command executed without for a password. If keychain already has been accepted or denied, why does ue4 hang. This just started last week. Two weeks prior ue4 stopped logging into svn. 3 weeks prior and everything worked perfectly. What next?

Ok, so I did a great deal of resetting and still have SVN hanging issue. Maybe I’m missing something. Please help.

  1. I completely uninstalled UE4 by
    deleting all files within the
    folders shown at this link -
    How do I uninstall UE4 on a Mac? - Getting Started & Setup - Epic Developer Community Forums
  2. I reset my default keychain.
  3. I deleted the .subversion/auth
    folder as recommended on UE4
    Answerhub -
    Svn weird behavior - Platform & Builds - Epic Developer Community Forums
  4. I then restarted.
  5. After restart I reinstalled UE4
    Launcher and UE 4.7.5 (without
    opening editor.)
  6. I deleted our whole " Game Project"
    and re-downloaded (I ignored and
    recursively ignored intermediate
    and saved folders from the
    repository.) - I made sure to
    execute command line function
    you posted previously
    (/Path/To/UE4/Engine/Binaries/ThirdParty/svn/Mac/bin/svn
    info --username=your_username
    https://path/to/repository ) and I
    was given a prompt for a password
    this time around. I entered the
    password and all seemed good.
  7. I then opened project by double
    clicking on blah.uproject. The
    project opened fine without source
    control enabled. When setting up
    source control, all previous SVN
    settings were already filled in.
    What gives? I figured deleting
    everything would delete SVN
    settings within project.
  8. So I proceed to enter password
    just after double checking SVN
    url and it still hangs.

I am beyond confused and frustrated. This has been an ongoing time sink for us since UE4.4. Please help us! PS: I do want to thank you for helping thus far.

I hope you modified paths in step 6 to match your actual config, otherwise they won’t work. If it is still hanging, try using Activity Monitor to sample svn process & posting attached results, since that might show me what it is hanging & give me another avenue of attack.

Yep, if you go into /Applications/Utilities and open ActivityMonitor.app, then highlight hanging svn process and select View → Sample Process it should capture callstacks in svn process. That might enlighten me as to what it is stuck trying to do.

Yes, I modified paths to point to appropriate folder and repository.

Activity monitor?

Thanks jcdied4me, it looks like it is stuck trying to print status of your working copy (svn_cl__print_status_xml) via cstdlib functions. So it must definitely have connected successfully. I’m not quite sure why that doesn’t work, certainly it shouldn’t be taking hours even if repo is very large. I’ll have to take a look at how output is supposed to be redirected to UE.

link text

Here is sample you have requested.