After # svn co ..., I've edited few files, then added some custom files which aren't part of local working copy. Which command should I issue, in order to restore working copy, as I would: # rm -R ... and # svn co ...?
Edited files can be reset to the original form with svn revert. Added files can just be deleted. If you've actually used svn add on them to get them under version control, use svn delete to delete them.
I've manually edited files in the working copy (# svn revert -R worked!) and via the cp utility copied files in it (svn utils not used). I need a solution for this case scenario. Now how to auto delete files listed with '?' by # svn status?
That was it. If you edit a file under svn(1)'s control, svn revert [i]file[/i] will remove those changes, reverting it back to the way it is in the repository. New files that are not under version control can be manually deleted. svn stat will show the status of files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.