diff fetch_command.py @ 25:99f8e4b535e9

svn 1.4 and 1.5 have different ideas of diff output for prop changes.
author Augie Fackler <durin42@gmail.com>
date Thu, 09 Oct 2008 23:37:22 -0500
parents 83ed086ddf72
children 575bd29bc1d8
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -151,13 +151,13 @@ Cannot display: file marked as a binary 
 
 property_exec_set_re = re.compile(r'''Property changes on: ([^\n]*)
 _*
-Added: svn:executable
+(?:Added|Name): svn:executable
    \+ \*
 ''')
 
 property_exec_removed_re = re.compile(r'''Property changes on: ([^\n]*)
 _*
-Deleted: svn:executable
+(?:Deleted|Name): svn:executable
    - \*
 ''')
 
@@ -167,13 +167,13 @@ any_file_re = re.compile(r'''^Index: ([^
 
 property_special_set_re = re.compile(r'''Property changes on: ([^\n]*)
 _*
-Added: svn:special
+(?:Added|Name): svn:special
    \+ \*
 ''')
 
 property_special_removed_re = re.compile(r'''Property changes on: ([^\n]*)
 _*
-Added: svn:special
+(?:Deleted|Name): svn:special
    \- \*
 ''')