diff --git a/NEWS.mdtext b/NEWS.mdtext index f04f274..d387563 100644 --- a/NEWS.mdtext +++ b/NEWS.mdtext @@ -1,3 +1,10 @@ +# 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 -',