Native Perforce integration not detecting changes to files

Been using Perforce a while. I think abusing is the best word for it. I’d love to know how to get perforce to pick up script changes automatically. I use the built in support. When I make changes, perforce really doesn’t understand I’ve made changes to the code, so I have to hunt through and check them out manually.

Am I missing something?

Thanks for any replies!

Aren’t your files read-only until you check them out? How are you making changes to scripts without checking them out?

None of the scripts appear to be read only - VS opens and saves them fine.

Does your Perforce workspace have “allwrite” enabled? In our setup, at least, unless something is checked-out, it’s read-only. That way, you have to check the file out to edit it.

If you’re looking for a git-style workflow, where you can just edit files in your local repository and have Perforce detect what’s changed, I honestly don’t know if Perforce has that capability–someone with more advanced Perforce-fu will need to chip in.

Aha yes, I believe allwrite was checked for some reason or other - I think I must’ve been failing to edit the scripts and toggled. Thanks for the tip - I am a complete noob at perforce :slight_smile:

You can right-click on a file or directory in Perforce and select Reconcile Offline Work… to find any edited files that haven’t been checked out. Even with everything seemingly working correctly, I still run that command every few days just to be sure.