Fixed issue #48.

This commit is contained in:
WrinklyNinja
2013-08-15 12:02:41 +01:00
parent 29eb4e2a92
commit dd86be7083
+6
View File
@@ -112,6 +112,12 @@ namespace boss {
//Look at the update URL to decide.
if (!boost::iends_with(game.URL(), ".git")) { //Subversion
//Check if the Subversion binary exists.
if (!fs::exists(g_path_svn)) {
throw boss::error(boss::error::path_not_found, "Could not find \"svn.exe\". Subversion cannot be used to update the masterlist.");
}
string command, output, revision;
//First check if the working copy is set up or not.
command = g_path_svn.string() + " info \"" + game.MasterlistPath().string() + "\"";