Lines Matching refs:repo
86 def _modified_regions(repo, patterns, **kwargs):
95 m = scmutil.match(repo[None], patterns, kwargs)
98 m = cmdutil.match(repo, patterns, kwargs)
101 repo.status(match=m, clean=opt_all)
105 wctx = repo.workingctx()
108 wctx = context.workingctx(repo)
120 def do_check_style(hgui, repo, *pats, **opts):
161 verifiers = [v(ui, opts, base=repo.root) for v in all_verifiers]
163 for fname, mod_regions in _modified_regions(repo, pats, **opts):
165 if verifier.apply(joinpath(repo.root, fname), mod_regions):
177 def check_style(ui, repo, hooktype, **kwargs):
182 return do_check_style(ui, repo, **args)