I don't know whether SVN has this feature, How do I tell svn to not maintain the history of changes for a file but it should have only the latest version of the file. Of course this is not the work of a version control, but it will be useful if I want to have some binary files within the repo without versioning.
+1
A:
No, you can't do this. Everything in SVN is built around the concept of not losing data. I think you are looking for a backup solution?
You could SVN ignore the file, adn then have your build script copy the file from a copy location when a user has just checked out the repository.
RedFilter
2010-06-03 13:35:22
ok thanks. Is there any option to run a command - after commit?
Prabu
2010-06-03 14:04:04
@Prabu: I think you are looking for the post-commit hook functionality. Here: http://svnbook.red-bean.com/en/1.4/svn.ref.reposhooks.post-commit.html
Scott P
2010-06-05 04:52:49