| Index: patch.py
|
| diff --git a/patch.py b/patch.py
|
| index 44282ddaf1a04b041fce16d680be7a3d927bb0ef..54f5d175a6caa0c619ec85183c3587b16401f87c 100644
|
| --- a/patch.py
|
| +++ b/patch.py
|
| @@ -406,7 +406,9 @@ class FilePatchDiff(FilePatchBase):
|
| # Only look at owner ACL for executable.
|
| if bool(int(mode[4]) & 1):
|
| self.svn_properties.append(('svn:executable', '*'))
|
| - else:
|
| + elif not self.source_filename and self.is_new:
|
| + # It's a new file, not from a rename/copy, then there's no property to
|
| + # delete.
|
| self.svn_properties.append(('svn:executable', None))
|
| return
|
|
|
|
|