mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-42456: add Mercurial vcs support to plugin_external_source
This commit is contained in:
parent
d29b8f4342
commit
0b5157363f
@ -662,6 +662,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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user