aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/git.py
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2009-06-26 16:16:10 -0400
committerChris Ball <cjb@laptop.org>2009-06-26 16:16:10 -0400
commitacf7b0cc492142ef0bbf1c04aed652a53caf7fe1 (patch)
tree83caecf530df36cc9f88bd94373b0fea0129b979 /libbe/git.py
parent34b2884112e3c3ca0cc0ac83df68c66f6b2729c4 (diff)
parent97aeb18b20f901950da0355471fdc17055f3f4a8 (diff)
downloadbugseverywhere-acf7b0cc492142ef0bbf1c04aed652a53caf7fe1.tar.gz
Merge with W. Trevor King's tree, which allows attaching binary files to bugs.
Diffstat (limited to 'libbe/git.py')
-rw-r--r--libbe/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/git.py b/libbe/git.py
index 401b5e5..5da1f86 100644
--- a/libbe/git.py
+++ b/libbe/git.py
@@ -70,9 +70,9 @@ class Git(RCS):
self._u_invoke_client("rm", "-f", path)
def _rcs_update(self, path):
self._rcs_add(path)
- def _rcs_get_file_contents(self, path, revision=None):
+ def _rcs_get_file_contents(self, path, revision=None, binary=False):
if revision == None:
- return RCS._rcs_get_file_contents(self, path, revision)
+ return RCS._rcs_get_file_contents(self, path, revision, binary=binary)
else:
arg = "%s:%s" % (revision,path)
status,output,error = self._u_invoke_client("show", arg)