MDL-42456: add Mercurial vcs support to plugin_external_source

This commit is contained in:
Oleg Sychev 2014-01-25 02:41:01 +03:00 committed by Sam Hemelryk
parent d29b8f4342
commit 0b5157363f
2 changed files with 8 additions and 0 deletions

View File

@ -662,6 +662,10 @@ class core_plugin_manager {
return 'svn';
}
if (is_dir($pluginroot.'/.hg')) {
return 'mercurial';
}
return false;
}

View File

@ -189,6 +189,10 @@ class deployer {
return 'svn';
}
if (is_dir($pluginroot.'/.hg')) {
return 'mercurial';
}
return false;
}