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
fix short_path folders removal #7986
fix short_path folders removal #7986
Conversation
except OSError as e: | ||
raise ConanException("%s\n\nFolder: %s\n" | ||
"Couldn't remove folder, might be busy or open\n" | ||
"Close any app using it, and retry" % (scm_folder, str(e))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this message, I'm always missing information about the actual path being removed, the shortened one, which would be the one blocking. I agree with the changes as they are now, but this is something to improve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the OSError exception should contain the failing path, and the exception is printed too, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uhm, that's probably right, but I cannot test it outside Windows...
Changelog: Bugfix: Remove correctly short-paths folders in Windows.
Docs: Omit
Fix #7983
#tags: slow, svn
#revisions: 1