Show More
@@ -227,10 +227,10 b' class hgweb(object):' | |||
|
227 | 227 | |
|
228 | 228 | def diff(self, node1, node2, files): |
|
229 | 229 | def filterfiles(filters, files): |
|
230 |
l = [x for x in |
|
|
230 | l = [x for x in files if x in filters] | |
|
231 | 231 | |
|
232 | 232 | for t in filters: |
|
233 | if t[-1] != os.sep: | |
|
233 | if t and t[-1] != os.sep: | |
|
234 | 234 | t += os.sep |
|
235 | 235 | l += [x for x in files if x.startswith(t)] |
|
236 | 236 | return l |
General Comments 0
You need to be logged in to leave comments.
Login now