I have a project coded in python and I use svn for source-control. But now, I have a part of this code I need to commit with Perforce. As the source tree is quite large with lots of files, I don't want to duplicate the files on the different computers. So I want to keep working on SVN and sometimes, push the code on Perforce.
But I have some problems to do that:
when a file is moved or deleted in SVN, submitting the code in Perforce results with an error saying the file is missing and can't be committed. So nothing is committed.
- Is it possible, when doing a checkout or submit, to tell Perforce to delete files from server if missing on local computer?
I don't want all my code on Perforce, so I marked only some directories to be added. No problem there. But to retrieve modifications and new files, the thing is to do a Perforce "checkout". And if I do that on the root directory of my development tree, it marks for add all the files in my development tree. So I ended doing a checkout on every directory I previously added, which is quite annoying and time consuming.
- Is there a way to tell Perforce to care only about some directories? (I know it is possible to tell it not to care about some patterns. But I have lots of directories not to care and only a few to care so the other way would be better here.)
If anyone has advice, he/she would become my hero ;-). Thanks!