Sloeber 4.4 removing a configuration via version control does not work #1350
Labels
domain: version control
importance: usability
OS: all
status: known limitation
This is soimething we can live with
status: no good solution found (yet)
We don't know how to fix this.
status: workaround documented
A workaround has been confirmed to solve this issue.
Make a project with 2 configurations that both have the "share in version control"
Your project now contains a sloeber.cfg showing the settings of both configs.
Delete all the lines of 1 config and save the sloeber.cfg file
--This is what would happen if the configuration was removed from version control by someone else--
expected behaviour
The config is no longer shared in version control
Actual behaviour
The config is removed from sloeber.cfg but the "share in version control" flag is still set so the next time you do project properties->arduino->apply close it will reappear
Work around
How to know this happened: Git staging will tell you that sloeber.cfg has changed and tell you a config was added; this should tell you that you shared the config that was removed by another team member
Action to fix:
Manually remove the "share in version control" flag from the project properties->arduino->other tab
Now the version contol tool should state there are no changes to sloeber.cfg
The text was updated successfully, but these errors were encountered: