hgext/graphlog.py
changeset 16434 8b62a77d0895
parent 16433 e38b29937118
child 16743 38caf405d010
--- a/hgext/graphlog.py	Sat Apr 14 11:16:57 2012 +0200
+++ b/hgext/graphlog.py	Sat Apr 14 11:27:11 2012 +0200
@@ -353,7 +353,9 @@
             fnopats = (('_ancestors', '_fancestors'),
                        ('_descendants', '_fdescendants'))
             if pats:
-                opts[fpats[followfirst]] = list(pats)
+                # follow() revset inteprets its file argument as a
+                # manifest entry, so use match.files(), not pats.
+                opts[fpats[followfirst]] = list(match.files())
             else:
                 opts[fnopats[followdescendants][followfirst]] = str(startrev)
         else: