Ports of lib9, libbio and libmach to Windows.

R=rsc
https://golang.org/cl/157159
This commit is contained in:
Hector Chu 2009-11-30 11:53:11 -08:00 committed by Russ Cox
parent 49c859a5f1
commit cd9d72ba9e
16 changed files with 100 additions and 128 deletions

View file

@ -403,7 +403,7 @@ def LoadAllCL(ui, repo, web=True):
# Find repository root. On error, ui.warn and return None
def RepoDir(ui, repo):
url = repo.url();
if not url.startswith('file:/'):
if not url.startswith('file:'):
ui.warn("repository %s is not in local file system\n" % (url,))
return None
url = url[5:]