controller: use Git by default. accidentally left it on Hg
This commit is contained in:
parent
0167aef16a
commit
748a54652f
|
@ -981,8 +981,7 @@ namespace SparkleShare {
|
||||||
string canonical_name = Path.GetFileNameWithoutExtension (name);
|
string canonical_name = Path.GetFileNameWithoutExtension (name);
|
||||||
string tmp_folder = Path.Combine (SparklePaths.SparkleTmpPath, canonical_name);
|
string tmp_folder = Path.Combine (SparklePaths.SparkleTmpPath, canonical_name);
|
||||||
|
|
||||||
// TODO: backend detection
|
SparkleFetcherBase fetcher = new SparkleFetcherGit (url, tmp_folder);
|
||||||
SparkleFetcherBase fetcher = new SparkleFetcherHg (url, tmp_folder);
|
|
||||||
bool folder_exists = Directory.Exists (Path.Combine (SparklePaths.SparklePath, canonical_name));
|
bool folder_exists = Directory.Exists (Path.Combine (SparklePaths.SparklePath, canonical_name));
|
||||||
|
|
||||||
// Add a numbered suffix to the nameif a folder with the same name
|
// Add a numbered suffix to the nameif a folder with the same name
|
||||||
|
|
Loading…
Reference in a new issue