equal
deleted
inserted
replaced
1225 path = e.getAttribute('path').encode('utf8') |
1225 path = e.getAttribute('path').encode('utf8') |
1226 if item == 'external': |
1226 if item == 'external': |
1227 externals.append(path) |
1227 externals.append(path) |
1228 elif item == 'missing': |
1228 elif item == 'missing': |
1229 missing.append(path) |
1229 missing.append(path) |
1230 if ( |
1230 if item not in ( |
1231 item |
1231 '', |
1232 not in ( |
1232 'normal', |
1233 '', |
1233 'unversioned', |
1234 'normal', |
1234 'external', |
1235 'unversioned', |
1235 ) or props not in ('', 'none', 'normal'): |
1236 'external', |
|
1237 ) |
|
1238 or props not in ('', 'none', 'normal') |
|
1239 ): |
|
1240 changes.append(path) |
1236 changes.append(path) |
1241 for path in changes: |
1237 for path in changes: |
1242 for ext in externals: |
1238 for ext in externals: |
1243 if path == ext or path.startswith(ext + pycompat.ossep): |
1239 if path == ext or path.startswith(ext + pycompat.ossep): |
1244 return True, True, bool(missing) |
1240 return True, True, bool(missing) |