Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for hg clone failing when using custom installation path #11212

Open
wants to merge 1 commit into
base: 1.10
Choose a base branch
from

Conversation

sb-relaxt-at
Copy link

@sb-relaxt-at sb-relaxt-at commented Dec 6, 2022

This is a proposed bugfix for #10123

@sb-relaxt-at sb-relaxt-at changed the title Bugfix for hg clone failing when using custom installation path. #10123 Bugfix for hg clone failing when using custom installation path Dec 6, 2022
@stof
Copy link
Contributor

stof commented Dec 6, 2022

The fix done here is not the one suggested in the discussion in the issue. any reason for that ?

@sb-relaxt-at
Copy link
Author

Thanks for your feedback. This solution has been implemented prior the ongoing conversation and has been tested for some time. I will give the different approach (not passing a cwd) a try and update the PR as soon as I have tested it.

@Seldaek
Copy link
Member

Seldaek commented Dec 16, 2022

I don't think a realpath here is a good solution, as if the dir doesn't exist yet it'll return false, which would be definitely a bad outcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants