mirror of
https://github.com/golang/go.git
synced 2025-11-06 11:40:59 +00:00
Ports of lib9, libbio and libmach to Windows.
R=rsc https://golang.org/cl/157159
This commit is contained in:
parent
49c859a5f1
commit
cd9d72ba9e
16 changed files with 100 additions and 128 deletions
|
|
@ -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:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue