galen Posted August 4, 2021 Report Share Posted August 4, 2021 Hello, I'm trying to cloak a quite big folder which I'm not interested in updating. I've added the folder through the context menu. Perhaps something to note is that cloaked.conf is ignored so that other team members can have other folders ignored. Any thoughts about what I could be doing wrong? Kind regards, Erik Link to comment Share on other sites More sharing options...
calbzam Posted August 4, 2021 Report Share Posted August 4, 2021 Hi, If you cloaked a controlled file, the folder should persist in your workspace but the new file revisions created in the branch shouldn't be downlaoded to your workspace when you update. Isn't it the behavior you are experiencing? Regards, Carlos. Link to comment Share on other sites More sharing options...
galen Posted August 5, 2021 Author Report Share Posted August 5, 2021 Hi Carlos, that is not the behaviour I'm experiencing. in this update, everything in the "New items to download" is inside of the cloaked folder and when I verify in the workspace explorer, they are indeed there and in the status field for these newly downloaded files, it says "Controlled / Cloaked". Link to comment Share on other sites More sharing options...
galen Posted August 5, 2021 Author Report Share Posted August 5, 2021 Hi Carlos, I just got it to work but not in the way I had expected. Using the Update Workspace in the Workspace Explorer did indeed ignore the cloaked files which is great, I only wish updating through the Incoming Changes window would work the same since that's a better way to update, especially when I have pending changes. Is there a way to avoid being forced to use Update Workspace in the Workspace Explorer? Link to comment Share on other sites More sharing options...
Héber Posted August 5, 2021 Report Share Posted August 5, 2021 Hi Galen, There is a reason beneath this behavior. The cloaked.conf only works on controlled files, and it is to prevent changes from being downloaded into your machine. That means that new files (the ones appearing as added) will not be taken into account. If you don't want to submit the newly added items you need to ignore them. To do a very quick sum up, we have three config files: Ignore.conf: Prevents new files from being submited to the server and keep them local. Cloaked.conf: Prevents changes in the server from being download into your machine. Hiddenchanges.conf: Prevents changes in controlled files in your machine from being submitted to the server. With that taken into account, the incoming changes should work as expected. Let us know if you have any other questions. Best, Héber. Link to comment Share on other sites More sharing options...
galen Posted August 5, 2021 Author Report Share Posted August 5, 2021 Hi Héber, is this the expected behaviour regardless of how the update was performed? Link to comment Share on other sites More sharing options...
galen Posted August 5, 2021 Author Report Share Posted August 5, 2021 1 hour ago, Héber said: Hi Galen, There is a reason beneath this behavior. The cloaked.conf only works on controlled files, and it is to prevent changes from being downloaded into your machine. That means that new files (the ones appearing as added) will not be taken into account. If you don't want to submit the newly added items you need to ignore them. It seems there's a misunderstanding here? I am not submitting any files, only updating my workspace. The new files that Plastic wants to download are in a cloaked folder. After some testing, I do get the expected behaviour to work but ONLY when updating with Updating Workspace inside of the Workspace Explorer and NOT when using the Incoming Changes window. Is this intended? Link to comment Share on other sites More sharing options...
galen Posted August 10, 2021 Author Report Share Posted August 10, 2021 Bump 😬 😅 Link to comment Share on other sites More sharing options...
Héber Posted August 10, 2021 Report Share Posted August 10, 2021 Hi Galen, I'm sorry for the late reply. No, I'd say this is not the expected behavior. Let me share it with the team and double-check it. Best, Héber. 1 Link to comment Share on other sites More sharing options...
galen Posted August 30, 2021 Author Report Share Posted August 30, 2021 Hi Héber, I would love to hear any update on this Kind regards, Erik Link to comment Share on other sites More sharing options...
Héber Posted September 3, 2021 Report Share Posted September 3, 2021 Hi Erik, As talked through e-mail, I'll paste here the answer in case it helps anyone else: I'm afraid the reason why those cloaked files are being downloaded is that the incoming changes run a merge operation underneath, and merges need to be for the whole changeset Best, Héber. 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