equal
deleted
inserted
replaced
805 x = getstring(l[0], _("%s expected a filename") % name) |
805 x = getstring(l[0], _("%s expected a filename") % name) |
806 if x in c: |
806 if x in c: |
807 cx = c[x] |
807 cx = c[x] |
808 s = set(ctx.rev() for ctx in cx.ancestors(followfirst=followfirst)) |
808 s = set(ctx.rev() for ctx in cx.ancestors(followfirst=followfirst)) |
809 # include the revision responsible for the most recent version |
809 # include the revision responsible for the most recent version |
810 s.add(cx.linkrev()) |
810 s.add(cx.introrev()) |
811 else: |
811 else: |
812 return baseset() |
812 return baseset() |
813 else: |
813 else: |
814 s = _revancestors(repo, baseset([c.rev()]), followfirst) |
814 s = _revancestors(repo, baseset([c.rev()]), followfirst) |
815 |
815 |