+#ifdef SG_WINDOWS
+ if ((_use_svn)&&(!use_int_svn))
+ {
+ // external SVN support is used
+ if (hasWhitespace(_local_dir))
+ {
+ SG_LOG(SG_TERRAIN,SG_ALERT,
+ "Cannot start scenery download. Directory '" << _local_dir <<
+ "' contains white-space characters." << endl <<
+ "This path is unsupported when using external subversion on Windows." << endl <<
+ "Please select a different target directory without white-space characters.");
+ _fail_count++;
+ _stalled = true;
+ return false;
+ }
+ if (hasWhitespace(_svn_command))
+ {
+ SG_LOG(SG_TERRAIN,SG_ALERT,
+ "Cannot start scenery download. Path to utility '" << _svn_command <<
+ "' contains white-space characters." << endl <<
+ "This path is unsupported when using external subversion on Windows." << endl <<
+ "Please move utility to a different directory or add the directory to your system 'PATH'.");
+ _fail_count++;
+ _stalled = true;
+ return false;
+ }
+ }
+#endif
+