Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
0b515736
Commit
0b515736
authored
Jan 25, 2014
by
Oleg Sychev
Committed by
Sam Hemelryk
Feb 04, 2014
Browse files
MDL-42456: add Mercurial vcs support to plugin_external_source
parent
d29b8f43
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/classes/plugin_manager.php
View file @
0b515736
...
...
@@ -662,6 +662,10 @@ class core_plugin_manager {
return
'svn'
;
}
if
(
is_dir
(
$pluginroot
.
'/.hg'
))
{
return
'mercurial'
;
}
return
false
;
}
...
...
lib/classes/update/deployer.php
View file @
0b515736
...
...
@@ -189,6 +189,10 @@ class deployer {
return
'svn'
;
}
if
(
is_dir
(
$pluginroot
.
'/.hg'
))
{
return
'mercurial'
;
}
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment