##// END OF EJS Templates
windows: use abspath in mercurial/hg.py...
marmoute -
r48426:1fdf315e default
parent child Browse files
Show More
@@ -567,7 +567,7 b' def clonewithshare('
567
567
568 # Resolve the value to put in [paths] section for the source.
568 # Resolve the value to put in [paths] section for the source.
569 if islocal(source):
569 if islocal(source):
570 defaultpath = os.path.abspath(urlutil.urllocalpath(source))
570 defaultpath = util.abspath(urlutil.urllocalpath(source))
571 else:
571 else:
572 defaultpath = source
572 defaultpath = source
573
573
@@ -821,7 +821,7 b' def clone('
821
821
822 abspath = origsource
822 abspath = origsource
823 if islocal(origsource):
823 if islocal(origsource):
824 abspath = os.path.abspath(urlutil.urllocalpath(origsource))
824 abspath = util.abspath(urlutil.urllocalpath(origsource))
825
825
826 if islocal(dest):
826 if islocal(dest):
827 if os.path.exists(dest):
827 if os.path.exists(dest):
General Comments 0
You need to be logged in to leave comments. Login now