Merge branch 'master' of https://apu.dw.local/git/Users/JoshHoltrop/files
This commit is contained in:
commit
3d1803c431
4 files changed
+24
-1
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user