Mercurial > hg-stable
comparison mercurial/transaction.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 | cf47b83d8ad0 |
children | f4733654f144 |
comparison
equal
deleted
inserted
replaced
51460:a2f1d97e5284 | 51461:08913487ae80 |
---|