Search code examples
svnhistorysvnadminsvndump

How to restrict the number of history kept by svn?


For example, I only want 3 records of a certain branch or item.

Thank you very much!

Update: Thanks for you guys' answer. Maybe it is not a good question. I have one framework repo and several projects referencing the framework. I usually keep working on one project and sometimes I need to update the framework. However, I don't want to affect any other projects because of my updates of framework, although I may not have time to update each project agains the framework changes. So the solution I considered was to chech in the framework .dlls in each projects so that every projects can cache a version of dlls and they won't break. However, I don't want my svn to keep a lot of dll checkins, so I come up with the above question..... I just thought I should probably keep a copy of framework source code in each project instead of dlls. Once I decided to use updated framework, I can do a merge to each project's copy of framework. That sounds better.


Solution

  • Based on your update you should take a look for svn:externals to make a reference to the framework area from every project it will use the framework (dll or may be source code). On the other hand you can store binaries and SVN will use deltas as well. So it should't be a problem of space.