Disabled automatically adding Fossil's remote-url to the list of remotes.

FossilOrigin-Name: cb27c4e2a0777b5c3fa64a07d19cd6b89e05c76f
This commit is contained in:
kostas
2015-08-22 17:05:26 +00:00
parent 0200f4b7b4
commit 521e0e7d7b
3 changed files with 9 additions and 7 deletions

View File

@@ -99,6 +99,7 @@ bool Workspace::switchWorkspace(const QString& workspace, QSettings &store)
store.endArray();
store.endGroup();
#if 0 // FIXME: Disabled this because if fossil's remote does not match exactly what we have stored (url and username), it will be automatically added every-time
// Add the default url from fossil
QUrl default_remote;
if(fossil().getRemoteUrl(default_remote) && default_remote.isValid() && !default_remote.isEmpty())
@@ -113,6 +114,7 @@ bool Workspace::switchWorkspace(const QString& workspace, QSettings &store)
setRemoteDefault(default_remote);
}
}
#endif
return true;
}