Files @ bf5c2c75c976
Branch filter:

Location: kallithea/rhodecode/tests/fixtures/hg_diff_copy_and_chmod_file.diff - annotation

Marcin Kuzminski
fixes issue #856 file upload >1000 bytes on windows throws exception.

The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform
1
2
3
4
5
diff --git a/file3 b/file4
old mode 100644
new mode 100755
copy from file3
copy to file4