controller: use Git by default. accidentally left it on Hg

This commit is contained in:
Hylke Bons 2011-05-22 18:57:47 +01:00
parent 0167aef16a
commit 748a54652f

View file

@ -981,8 +981,7 @@ namespace SparkleShare {
string canonical_name = Path.GetFileNameWithoutExtension (name);
string tmp_folder = Path.Combine (SparklePaths.SparkleTmpPath, canonical_name);
// TODO: backend detection
SparkleFetcherBase fetcher = new SparkleFetcherHg (url, tmp_folder);
SparkleFetcherBase fetcher = new SparkleFetcherGit (url, tmp_folder);
bool folder_exists = Directory.Exists (Path.Combine (SparklePaths.SparklePath, canonical_name));
// Add a numbered suffix to the nameif a folder with the same name