Jun 21
When/why to SvnClient.LoadConfiguration
SvnClient.LoadConfig​urationDefault() (just like svn.exe) assumes the user’s registry hive is always available (e.g. it can read from HKEY_CURRENT_USER). It uses a few windows api calls on retrieving which directory to use for the settings.
When running a website, or another service or similar cases where there is a ‘current user’ but the full user profile hasn’t been loaded, the call can fail after a timeout.
Using .LoadConfiguration(​<path>) skips these procedures as it says: Only load these settings. (+– equivalent to using --config-dir <path> on svn.exe)
