Lines Matching refs:repo
48 from style import repo
74 repo_classes = repo.detect_repo()
88 "git" : repo.GitRepo,
89 "hg" : repo.MercurialRepo,
112 parser.add_argument("--repo-type", choices=repo_types, default="auto",
126 repo = repo_types[args.repo_type]()
132 if not files and repo:
133 added, modified = repo.staged_files()
134 files = [ repo.file_path(f) for f in added + modified ]
137 if args.modifications and repo and repo.in_repo(filename):
138 regions = repo.modified_regions(filename)