comparison mercurial/profiling.py @ 51461:08913487ae80 stable

subrepo: fix normalizing paths with scheme After revision 0afe96e374a7, subrepo paths were normalized using posixpath.normpath and that resulted in ssh paths being wrongly converted from ssh://host/path to ssh:/host/path This fix applies the same logic used in urlutil.url to split the path scheme from the rest and only use posixpath.normpath to the string after scheme://
author Felipe Resende <felipe@fcresende.dev.br>
date Sat, 16 Mar 2024 21:02:19 -0300
parents 18c8c18993f0
children 1574718fa62f
comparison
equal deleted inserted replaced
51460:a2f1d97e5284 51461:08913487ae80