I'm going mental here.
I'm writing code for my Ph.D. project(s). I have two versions of a specific .cpp
file and I want to use them both (alternating between them). I want to keep the most updated version of the other files.
I tried using svn copy
but it won't run over existing file. I tried to delete the file but svn copy
will just, kindly, say that it won't write over files existing in the repository even if they are missing in the target folder. Apart from checking out the entire version to a separate directory and copying the file manually to the desired folder, how can I revert a single file in my local folder to a previous version?
I don't want to update the entire tree, simply the local copy.
Alternatively, is there other version control system that can work over ssh and will give me this feature?
Thanks