Mercurial > hg-stable
comparison mercurial/util.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 | 187c5769a629 |
children | 6c39edd1d348 a452807df09b |
comparison
equal
deleted
inserted
replaced
51460:a2f1d97e5284 | 51461:08913487ae80 |
---|