Version control for both engine and project

I’ve created two branches in Perforce: one for the clean engine and another one for the project. When a new engine version is released, I update the engine branch and then merge it into my project branch. Works fine so far.