I have a Subversion working copy where I made some local modifications to one file. The modifications are only relevant to me, I do not want to commit them. (The version in
You can use a personal branch and switch that file for this effect. Like this:
svn cp ^/trunk ^/branches/your_name -m "Creating a personal branch."
cd working_copy_of_trunk/sub_path/
svn switch ^/branches/your_name/sub_path/your_file your_file
Note that:
svn status
The copy have been done complete server side, and this is the recommended way with svn. Complete server side copy is instantaneous and will not spent extra space on the server. However, it is also recommended that people do not checkout the top directory containing trunk/ tags/ and branches/ but directly trunk/ otherwise all files will be duplicates locally when updating from this top dir. If this is the case rather subtitute the first command with :
svn cp --parents ^/trunk/sub_path/your_file ^/branches/your_name/sub_path/your_file
Finally if for any reason you do not want to copy your file elsewhere on your repository server, then you may still combine this approach with an external server and svn:external keywords (not really recommended).