hgext/graphlog.py
changeset 16411 4c2edcd84175
parent 16409 2cbd7dd0cc1f
child 16412 1a10bee86e33
equal deleted inserted replaced
16410:80b3d574881f 16411:4c2edcd84175
   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', []):