Show More
@@ -674,7 +674,9 b' def open(ui, url_, data=None, sendaccept' | |||||
674 | url_, authinfo = u.authinfo() |
|
674 | url_, authinfo = u.authinfo() | |
675 | else: |
|
675 | else: | |
676 | path = util.normpath(os.path.abspath(url_)) |
|
676 | path = util.normpath(os.path.abspath(url_)) | |
677 |
url_ = b'file://' + pycompat.bytesurl( |
|
677 | url_ = b'file://' + pycompat.bytesurl( | |
|
678 | urlreq.pathname2url(pycompat.fsdecode(path)) | |||
|
679 | ) | |||
678 | authinfo = None |
|
680 | authinfo = None | |
679 | return opener(ui, authinfo, sendaccept=sendaccept).open( |
|
681 | return opener(ui, authinfo, sendaccept=sendaccept).open( | |
680 | pycompat.strurl(url_), data |
|
682 | pycompat.strurl(url_), data |
General Comments 0
You need to be logged in to leave comments.
Login now