82
82
raise errors.BzrError("Invalid pattern: '%s'" % pattern)
87
86
tree, branch, relpath = bzrdir.BzrDir.open_containing_tree_or_branch(path)
90
95
for fp, fc, fkind, fid, entry in tree.list_files(include_root=False,
91
96
from_dir=relpath, recursive=recursive):
92
97
if fc == 'V' and fkind == 'file':
93
self.file_grep(relpath, fp, patternc, eol_marker)
98
self.file_grep(rpath, fp, patternc, eol_marker)