getArchiveStream() should actually be public (issue 648)

release-1.1
Thomas Keller 2011-03-25 00:11:03 +01:00
parent 627bc4e45f
commit 1a52133fd4
2 changed files with 8 additions and 1 deletions

View File

@ -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 # InDefero 1.1 - Sun Mar 20 11:44 2011 UTC
## New Features ## New Features

View File

@ -463,7 +463,7 @@ class IDF_Scm_Mercurial extends IDF_Scm
* @param string Prefix ('git-repo-dump') * @param string Prefix ('git-repo-dump')
* @return Pluf_HTTP_Response The HTTP response containing the zip archive * @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', ''). $cmd = sprintf(Pluf::f('idf_exec_cmd_prefix', '').
Pluf::f('hg_path', 'hg').' archive --type=zip -R %s -r %s -', Pluf::f('hg_path', 'hg').' archive --type=zip -R %s -r %s -',