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

import --force is broken on Windows #130

Closed
rotu opened this issue Apr 28, 2020 · 1 comment · Fixed by #134
Closed

import --force is broken on Windows #130

rotu opened this issue Apr 28, 2020 · 1 comment · Fixed by #134
Labels
Milestone

Comments

@rotu
Copy link
Contributor

rotu commented Apr 28, 2020

vcs import --force fails with a PermissionError on Windows.
This is because git creates its index files with the readonly flag, which must be cleared before the file can be deleted.

Invocation of command 'import' on client 'git' failed: PermissionError: [WinError 5] Access is denied: 'src/eProsima/Fast-CDR' (c:\python37\lib\site-packages\vcstool\clients\git.py:242)

https://github.com/ros2/rmw_cyclonedds/pull/168/checks?check_run_id=627448665#step:4:430

@dirk-thomas
Copy link
Owner

Thanks for the report. The problem has been addressed in #134.

@dirk-thomas dirk-thomas added this to the 0.2.8 milestone May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants