Francois Bertrand Posted August 12, 2019 Report Share Posted August 12, 2019 Hi! We have some configuration files we would like to add to the repository under a basic state, so they get downloaded by clients. However, we don't want local changes to be detected as changes (i.e. clients can have their own personal configurations). I know adding them to the "ignored list" would work, but it would be nice to still have that "default" state in source control. We added the files to the "hidden_changes" configuration file. Documentation says "The hidden changes are controlled items that can be changed but the user doesn't want them to appear by default on the Pending changes view.". This does work, as we do not see them in pending changes, however it seems that sometimes (I have not confirmed that this is happening every time) when switching workspace to a new changeset we get the error message: "Warning: This file has been changed in the workspace, out of Plastic SCM control, so data has been preserved. Item is not up-to-date." It's like it knows to ignore it for pending changes, but when switching changeset it DOES want to overwrite changes. I'm sure there is something easy I'm missing but would be great to know what. Note: in the workspace explorer the file IS listed as: "Controlled / changed / hidden changed" Thank you! Francois Link to comment Share on other sites More sharing options...
calbzam Posted August 13, 2019 Report Share Posted August 13, 2019 Hi, If you want to allow switching to a different branch with pending changes (even if they are ignored in the "Pending changes" view), you can configure this behavior in the GUI "Preferences" --> "Other options" panel. You can "allow", "allow showing a warning" or "don't allow". With this warning, we try to avoid errors like the one we explain in the following article: https://plasticscmsupport.zendesk.com/hc/en-us/articles/360014970894-The-parent-revision-of-the-item-is-inconsistent-with-the-loaded-one-in-changeset-cs-xxx Your feedback is welcome. Regards, Carlos. Link to comment Share on other sites More sharing options...
Francois Bertrand Posted August 13, 2019 Author Report Share Posted August 13, 2019 Hello Carlos, So if I understand you correctly, hidden_changes doesn't do anything other than change what is displayed in the pending changes view, but the changes are still taken into account as if they were not hidden? Thank you, Francois Link to comment Share on other sites More sharing options...
calbzam Posted August 14, 2019 Report Share Posted August 14, 2019 That's correct. Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now