I have a large file in my repository that is not text-mergeable and that I do not need multiple-version control for (PPT for example). I would like to keep it on the repository for backup purposes and to share with multiple people, but I do not want the repository size to grow huge because it's keeping a duplicate copy of the file every time it changes. Is there a way to specify this behavior for a file in a Subversion repository?
Thanks!
When you update, the contents of your working copy are updated with all of the changes that have been committed to the repository since you last updated. Subversion is pretty smart about updating and never just overwrites files that have local changes with copies from the repository.
Simply type svn update [name-of-directory] , or cd to that directory and type svn update there.
The files on your computer are called working files. These are the files in which each user makes edits. Then, users commit their changes to the SVN server. Each time a user commits a change, SVN manages and records it by creating a new version.
This is not possible in Subversion. However: subversion keeps the changes to this file as binary diffs in the repository, so depending on the type of changes you make it won't consume a lot of extra space.
You can't. Subversion is designed to keep the different versions of files. It's a version control system, after all.
Maybe just don't put it in subversion, but back it up or share it using rsync instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With