comparison 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
comparison
equal deleted inserted replaced
24:5954a514ae26 25:99f8e4b535e9
149 =* 149 =*
150 Cannot display: file marked as a binary type.''') 150 Cannot display: file marked as a binary type.''')
151 151
152 property_exec_set_re = re.compile(r'''Property changes on: ([^\n]*) 152 property_exec_set_re = re.compile(r'''Property changes on: ([^\n]*)
153 _* 153 _*
154 Added: svn:executable 154 (?:Added|Name): svn:executable
155 \+ \* 155 \+ \*
156 ''') 156 ''')
157 157
158 property_exec_removed_re = re.compile(r'''Property changes on: ([^\n]*) 158 property_exec_removed_re = re.compile(r'''Property changes on: ([^\n]*)
159 _* 159 _*
160 Deleted: svn:executable 160 (?:Deleted|Name): svn:executable
161 - \* 161 - \*
162 ''') 162 ''')
163 163
164 empty_file_patch_wont_make_re = re.compile(r'''Index: ([^\n]*)\n=*\n(?=Index:)''') 164 empty_file_patch_wont_make_re = re.compile(r'''Index: ([^\n]*)\n=*\n(?=Index:)''')
165 165
166 any_file_re = re.compile(r'''^Index: ([^\n]*)\n=*\n''', re.MULTILINE) 166 any_file_re = re.compile(r'''^Index: ([^\n]*)\n=*\n''', re.MULTILINE)
167 167
168 property_special_set_re = re.compile(r'''Property changes on: ([^\n]*) 168 property_special_set_re = re.compile(r'''Property changes on: ([^\n]*)
169 _* 169 _*
170 Added: svn:special 170 (?:Added|Name): svn:special
171 \+ \* 171 \+ \*
172 ''') 172 ''')
173 173
174 property_special_removed_re = re.compile(r'''Property changes on: ([^\n]*) 174 property_special_removed_re = re.compile(r'''Property changes on: ([^\n]*)
175 _* 175 _*
176 Added: svn:special 176 (?:Deleted|Name): svn:special
177 \- \* 177 \- \*
178 ''') 178 ''')
179 179
180 def make_diff_path(b): 180 def make_diff_path(b):
181 if b == None: 181 if b == None: