Lines Matching refs:path
89 last_email_file_name = os.path.expanduser("~/.last_codereview_email_address")
91 if os.path.exists(last_email_file_name):
313 request_path: The path to send the request to, eg /api/appversion/create.
383 self.cookie_file = os.path.expanduser("~/.codereview_upload_cookies")
385 if os.path.exists(self.cookie_file):
444 help="Optional path of a file that contains "
773 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
779 if path.startswith("/projects/"):
780 path = path[9:]
783 base = "http://svn.python.org/view/*checkout*%s/" % path
786 if path.startswith("/repos/"):
787 path = path[6:]
788 base = "http://svn.collab.net/viewvc/*checkout*%s/" % path
791 path = path + "/"
792 base = urlparse.urlunparse(("http", netloc, path, params,
796 path = path + "/"
797 base = urlparse.urlunparse((scheme, netloc, path, params,
889 dirname, relfilename = os.path.split(filename)
1062 # Absolute path to repository (we can be in a subdir)
1063 self.repo_dir = os.path.normpath(repo_dir)
1065 cwd = os.path.normpath(os.getcwd())
1074 """Get relative path of a file according to the current directory,
1075 given its logical path in the repo."""
1118 # "hg status" and "hg cat" both take a path relative to the current subdir
1119 # rather than to the repo root, but "hg diff" has given us the full path
1246 if os.path.isdir('.svn'):