diff hgext/graphlog.py @ 16411:4c2edcd84175

graphlog: correctly handle calls in subdirectories
author Patrick Mezard <patrick@mezard.eu>
date Wed, 11 Apr 2012 11:32:00 +0200
parents 2cbd7dd0cc1f
children 1a10bee86e33
line wrap: on
line diff
--- a/hgext/graphlog.py	Wed Apr 11 11:29:12 2012 +0200
+++ b/hgext/graphlog.py	Wed Apr 11 11:32:00 2012 +0200
@@ -340,7 +340,7 @@
         # "a" and "b" while "file(a) and not file(b)" does
         # not. Besides, filesets are evaluated against the working
         # directory.
-        matchargs = ['r:']
+        matchargs = ['r:', 'd:relpath']
         for p in pats:
             matchargs.append('p:' + p)
         for p in opts.get('include', []):