This commit is contained in:
mZwagerman committed 2011-06-09 15:51:47 -04:00
commit 3d1803c431
4 files changed
+24 -1

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ def binaries(argv, svn, base_path = '.'):
ent_path = os.sep.join([base_path, ent])
if os.path.isfile(ent_path):
mime_type = getSVNProperty(svn, 'svn:mime-type', ent_path)
if re.match(r'application/octet-stream', mime_type):
if mime_type != '' and not re.match(r'text/.*', mime_type):
# we found a binary file
needs_lock = getSVNProperty(svn, 'svn:needs-lock', ent_path)
if needs_lock: