MDL-42456: add Mercurial vcs support to plugin_external_source
This commit is contained in:
committed by
Sam Hemelryk
parent
93289de65e
commit
c5a229c2f1
@@ -661,6 +661,10 @@ class core_plugin_manager {
|
||||
return 'svn';
|
||||
}
|
||||
|
||||
if (is_dir($pluginroot.'/.hg')) {
|
||||
return 'mercurial';
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -189,6 +189,10 @@ class deployer {
|
||||
return 'svn';
|
||||
}
|
||||
|
||||
if (is_dir($pluginroot.'/.hg')) {
|
||||
return 'mercurial';
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user