changeset 12:c5039390332f

Fix partial implementation.
author Augie Fackler <durin42@gmail.com>
date Mon, 06 Oct 2008 14:14:50 -0500
parents 83ed086ddf72
children e60bd31f58a7
files push_cmd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/push_cmd.py
+++ b/push_cmd.py
@@ -143,7 +143,7 @@ def commit_from_rev(ui, repo, rev_ctx, h
                 del props[tf]
             if merc_util.binary(file_data[ntf][1]):
                 props.setdefault(ntf, {}).update(props.get(ntf, {}))
-                props.setdefault(ntf, {})['svn:mime-type']
+                props.setdefault(ntf, {})['svn:mime-type'] = 'application/octet-stream'
             del file_data[tf]
     added_dirs = ['%s/%s' % (branch_path, f) for f in added_dirs]
     new_target_files += added_dirs