Enable binary file upload.

It seems to just work.

R=dpranke@chromium.org
BUG=23608

Review URL: https://chromiumcodereview.appspot.com/23766025

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222431 0039d316-1c4b-4281-b951-d872f2087c98
parent 3b5efdf6
...@@ -149,16 +149,11 @@ class Rietveld(object): ...@@ -149,16 +149,11 @@ class Rietveld(object):
filename, filename,
'Binary file is empty. Maybe the file wasn\'t uploaded in the ' 'Binary file is empty. Maybe the file wasn\'t uploaded in the '
'first place?') 'first place?')
raise patch.UnsupportedPatchFormat( out.append(patch.FilePatchBinary(
filename, filename,
'Binary file support is temporarilly disabled due to a bug. ' content,
'Please commit blindly the binary files first then commit the ' svn_props,
'source change as a separate CL. Sorry for the annoyance.') is_new=(status[0] == 'A')))
#out.append(patch.FilePatchBinary(
# filename,
# content,
# svn_props,
# is_new=(status[0] == 'A')))
continue continue
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment