This is an archive of the discontinued Mercurial Phabricator instance.

hg-ssh: normalize the drive of the current working directory on windows
ClosedPublic

Authored by marmoute on Jul 9 2021, 8:34 PM.

Details

Summary

For some reason os.getcwd() can return either c: or C:. We normalize this to
C: and the like. This fix test-ssh-bundle1.t on windows.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.Jul 9 2021, 8:34 PM
baymax updated this revision to Diff 29077.Jul 9 2021, 9:21 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

baymax updated this revision to Diff 29097.Jul 9 2021, 11:41 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.Jul 13 2021, 11:25 AM
This revision is now accepted and ready to land.Jul 13 2021, 11:25 AM