You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/06/03 17:32:09 UTC
[16/31] git commit: [#6235] ticket:352 Fix tarball() signature for git
[#6235] ticket:352 Fix tarball() signature for git
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/2e55361a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/2e55361a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/2e55361a
Branch: refs/heads/cj/merge-request-4
Commit: 2e55361a8290d5e0e6f46cd4ad1fb5825951a2b2
Parents: 070c5d6
Author: Igor Bondarenko <je...@gmail.com>
Authored: Fri May 17 16:29:57 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri May 31 22:14:09 2013 +0000
----------------------------------------------------------------------
ForgeGit/forgegit/model/git_repo.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/2e55361a/ForgeGit/forgegit/model/git_repo.py
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/model/git_repo.py b/ForgeGit/forgegit/model/git_repo.py
index a9d16c0..c656dfd 100644
--- a/ForgeGit/forgegit/model/git_repo.py
+++ b/ForgeGit/forgegit/model/git_repo.py
@@ -344,7 +344,7 @@ class GitImplementation(M.RepositoryImplementation):
tree = self.refresh_tree_info(ci.tree, set())
return tree._id
- def tarball(self, commit):
+ def tarball(self, commit, path=None):
if not os.path.exists(self._repo.tarball_path):
os.makedirs(self._repo.tarball_path)
archive_name = self._repo.tarball_filename(commit)