1139 elif line[:3] == '+++': |
1139 elif line[:3] == '+++': |
1140 path = line[4:].split('\t', 1)[0] |
1140 path = line[4:].split('\t', 1)[0] |
1141 if path[:2] == 'b/': |
1141 if path[:2] == 'b/': |
1142 path = path[2:] |
1142 path = path[2:] |
1143 rv[path] = set() |
1143 rv[path] = set() |
1144 return dict([(os.path.join(parent, path), rows) |
1144 return dict([(os.path.join(parent, path_), rows) |
1145 for (path, rows) in rv.items() |
1145 for (path_, rows) in rv.items() |
1146 if rows and filename_match(path, patterns)]) |
1146 if rows and filename_match(path_, patterns)]) |
1147 |
1147 |
1148 |
1148 |
1149 def normalize_paths(value, parent=os.curdir): |
1149 def normalize_paths(value, parent=os.curdir): |
1150 """Parse a comma-separated list of paths. |
1150 """Parse a comma-separated list of paths. |
1151 |
1151 |