##// END OF EJS Templates
windows: use abspath in url...
marmoute -
r48430:8e5192e4 default
parent child Browse files
Show More
@@ -10,7 +10,6 b''
10 from __future__ import absolute_import
10 from __future__ import absolute_import
11
11
12 import base64
12 import base64
13 import os
14 import socket
13 import socket
15 import sys
14 import sys
16
15
@@ -685,7 +684,7 b' def open(ui, url_, data=None, sendaccept'
685 u.scheme = u.scheme.lower()
684 u.scheme = u.scheme.lower()
686 url_, authinfo = u.authinfo()
685 url_, authinfo = u.authinfo()
687 else:
686 else:
688 path = util.normpath(os.path.abspath(url_))
687 path = util.normpath(util.abspath(url_))
689 url_ = b'file://' + pycompat.bytesurl(
688 url_ = b'file://' + pycompat.bytesurl(
690 urlreq.pathname2url(pycompat.fsdecode(path))
689 urlreq.pathname2url(pycompat.fsdecode(path))
691 )
690 )
General Comments 0
You need to be logged in to leave comments. Login now