Reputation: 418
I'm coming from TortiseSVN, where if you save a file over an existing revision it automatically gets checked out and locked for you.
However, in Perforce I have to manually checkout the file before saving it.
Is it possible to make Perforce work more like SVN in this regard?
Upvotes: 5
Views: 7594
Reputation: 69
There are probably many permutations to this question, but the following worked for me. My apologies if it does not work for you (then we must have slightly different setups)
I am running VS2019 and P4V 2021
First I installed Helix Visual Client to VS
Create VS connection to the Repos
After completing the above, whenever I edit a non-checked out file, I get a prompt "Do you wish to checkout the file"
Your mileage may vary.
Upvotes: 0
Reputation: 1
Unfortunately, from my research and these other poster's answers, it seems that the answer is "no." I'd prefer to not have to do a hack to achieve auto-checking out files on save.
Plastic (both Gluon and SCM) also support the auto-checkout feature, which is very convenient.
Upvotes: -1
Reputation: 16389
With modern versions of Perforce this is reasonably straightforward:
Upvotes: 6