diff --git a/NEWS.mdtext b/NEWS.mdtext index 101c430..dde44de 100644 --- a/NEWS.mdtext +++ b/NEWS.mdtext @@ -10,6 +10,14 @@ ## Translations + +# InDefero 1.1.1 - xxx xxx xx xx:xx 2011 UTC + +## Bugfixes + +- Fix PHP error when trying to create Mercurial source archives (issue 648) + + # InDefero 1.1 - Sun Mar 20 11:44 2011 UTC ## New Features diff --git a/src/IDF/Scm/Mercurial.php b/src/IDF/Scm/Mercurial.php index 298c023..b981138 100644 --- a/src/IDF/Scm/Mercurial.php +++ b/src/IDF/Scm/Mercurial.php @@ -463,7 +463,7 @@ class IDF_Scm_Mercurial extends IDF_Scm * @param string Prefix ('git-repo-dump') * @return Pluf_HTTP_Response The HTTP response containing the zip archive */ - protected function getArchiveStream($commit, $prefix='') + public function getArchiveStream($commit, $prefix='') { $cmd = sprintf(Pluf::f('idf_exec_cmd_prefix', ''). Pluf::f('hg_path', 'hg').' archive --type=zip -R %s -r %s -',