equal
deleted
inserted
replaced
338 # revset expressions as their filtering logic applies at file |
338 # revset expressions as their filtering logic applies at file |
339 # level. For instance "-I a -X a" matches a revision touching |
339 # level. For instance "-I a -X a" matches a revision touching |
340 # "a" and "b" while "file(a) and not file(b)" does |
340 # "a" and "b" while "file(a) and not file(b)" does |
341 # not. Besides, filesets are evaluated against the working |
341 # not. Besides, filesets are evaluated against the working |
342 # directory. |
342 # directory. |
343 matchargs = ['r:'] |
343 matchargs = ['r:', 'd:relpath'] |
344 for p in pats: |
344 for p in pats: |
345 matchargs.append('p:' + p) |
345 matchargs.append('p:' + p) |
346 for p in opts.get('include', []): |
346 for p in opts.get('include', []): |
347 matchargs.append('i:' + p) |
347 matchargs.append('i:' + p) |
348 for p in opts.get('exclude', []): |
348 for p in opts.get('exclude', []): |