Jump to content

"Download once/when changed" files? (hidden_changes not working as expected)


Francois Bertrand

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...