PlasticSCM won't let me merge my Unity project because I don't have proper permissions to make changes - plasticscm

I'm having trouble with PlasticSCM. I had it working at first, but for the last few months I haven't been able to puch the project. It looks like it's pushing but then the error says:
"The merge cannot be done because some local changes cannot be processed. Most likely, you don't have the proper permissions to make changes in some of the paths involved. Check the server log for more information."
enter image description here
To be clear, I've never branched the project(I double checked), and I've never knowingly done anything to alter the permissions. The other guy on my team has never had this problem, and is able to push and update through PlasticSCM just fine. When I got a support ticket from Plastic they had questions about whether not I branched the project. Beyond that, they never got back to me. We are using Unity 2021.2.0f1. I don't know what else to try.

Related

TFS Get Latest Downloads No Files

I'm trying to work on a piece of code in a different Team Project, when I tried to map to a directory on my machine it didn't create a new folder. And when I try a Get Latest, or even Get Specific Version (with overwrite ticked) it doesn't give me any of the files - the project is still grey in Solution Explorer - and yet it says all files are up to date.
I can't seem to do this for a few projects that I've now tried, I even seem to be struggling to get a Get Latest on the Team Project I am using as it is dropping the bindings so sees everything as not changed.
There is this question, which says permission issue, but it doesn't give me nearly enough information and may not even be a solution for me.
You need Read permission for this project. Check the screenshot below and contact your administrator to grant you appropriate permission:

Enabling multiple checkout tfs midstream?

Can multiple checkout be enabled within tfs at any time? Does everyone need to check in their files before this switch should be made, or does this even matter? I know we can enable it midstream, I just don't know what the side effects might be if people have files checked out.
The setting is server side so if you change it and someone has already checked out a file, it won't make any difference to them. However, they might get a surprise when they come to check-in and find out they have conflicts for the first time.
Bear in mind that if anyone is using a Local Workspace today, the setting won't apply to them anyway as the server doesn't know they are editing the file until they check-in.

TFS build agent is checking out some files

I'm facing an issue with TFS2012 where I have a gated check setup. Sometimes (not always) users are having files checked out by the build service (not a concrete type of files) with operations like add, delete and edit.
My first clue was something with the gated check in but accordingly to the information reconciles are being done, but the problem is that so far I can't trigger the issue, it just happens "sometimes".
I noticed that the build agent is doing the check outs, since if I go to the agent working folder I can find the files that have been checked out. It seems that the agent is reverting a change made by a user, but I still didn't fully understand it.
Do you have any idea what on the TFS could be causing this behavior, at least to give me some pointers on where to look for the issue.

On what change-set is my local working copy?

I want to be able to see (in VS2013 UI) till which change-set I updated my files.
The reason I ask this is because of the following scenario:
I created a fix, checked it in and continued working on something else. One day later, my colleague is testing the bug I solved but found it unsolved. Next, I tried to reproduce it at my machine but was not able to do so. So I wondered whether my colleague got the latest version before starting to test, he was convinced he did, but we cannot find a way to see on what change-set he is.
It is important for us to know this information without getting the latest version and retest it. Since the testing procedure for this bug takes quite some time, and time is valuable.
I'm quite new to TFS and we just switched from SVN to TFS. At SVN, using tortoise, the revision of the local working copy was highlighted, so the user knew which revisions he missed or was at.
I would like to be able to get this same information via VS2013.
I searched the web and found this other question but it uses the command line and I want to see it in the UI. Beside that, I couldn't get the command to work.
The question: Where can I find the number of the change-set in the VS2013 user-interface, my local working copy is on?
One place I know of is in the source control explorer window of Visual Studio.
1: right click a file and go to Advanced->Properties
2: Under the general tab you will see "Workspace Version #" and "Latest Version #"
In the Source Code Explorer you should have a column for "latest". This will tell you at a glance if you have the latest or not.

Changes are being lost between TFS changeset checkin

I'm finding that a number of my changes are being 'lost' when our contractor performs a check-in.
The general process is as follows:
I perform some bug analysis and implement a fix.
I then check-in my code.
The contractor performs a check-out/check-in at a later date.
The changes from the previous changeset (my changes) are lost.
In my view, this is pretty unacceptable, particularly when I'm dealing with application-breaking regressions introduced since the last build.
This has happened at least twice now, and the only thing I can think of is that the contractor is failing to ensure that he has the latest changeset at check-out. Our repo does not allow multiple check-out, and forces get latest on checkout, which makes things so weird (seeing as we both should be working with Server workspaces).
Could there be any other cause of this problem? I don't want to take my concerns to my line manager without being sure I've covered all bases.
Get Latest item on check out is set in the client and not in the repo, which means that your contractor may still be able to checkout the wrong version. They should get merge conflicts upon doing so, but that depends on where they edit (and how they manage such conflicts).
I've seen TFS lose changes this way. I have yesterday gone to a client site, made changes, checked in, today come back to my office, got the changes (assuming it will merge with my local changes like it usually does), gone to check in just now and I can see in the diff that it's wiped out the client-site changes (obviously ignoring the merge locally). I checked in just to confirm what I was seeing and yes there was no resolve conflict needed, TFS thought everything was ok, but my modified local file just blatantly overwrote the modified version in TFS effectively discarding the whole client-site change (just like if I'd chosen resolve conflict keep mine - however it never asked me about the conflict or suggested that there was one, just silently lost it)
If you eye-ball the changes before committing you can see that the changes you are making are more than you thought - i.e. the client site changes are effectively being removed and will show as differences - however it's easy to miss this when you are doing it a lot.
I had previously thought to blame coworkers when they skip out my changes this way, but now I've actually seen myself do this to myself I realise the tool is deficient. Hard to believe but there is obviously something wrong with the way it merges your locally changed file against the 'get latest'. I'm using a cloud TFS with a flaky network connection sometimes - I'm told this contributes to the issue.

Resources