Re: Obliterate or exclude folders from version control

Julian Foad <[email protected]> Thu, 10 Dec 2009 14:11:16 +0000
Newsgroups gmane.comp.version-control.subversion.devel,gmane.comp.version-control.subversion.rapidsvn.devel
Message-ID <1260454276.2077.3222.camel@edith>
Mariska Hoogenboom wrote:
> First of all, I agree that svn should have an obliterate
> functionality. 
> 
> In addition to that, I wonder if anyone else but me would like the
> possibility of excluding folders or files in an svn repository from
> version control. 
> 
> Each commit on a file with this special property would replace the
> existing entry in the repository instead of adding a delta, but the
> repository does get a new revision number, so clients know when their
> working copy is outdated. 
> 
> This would allow you to use a subversion repository both for
> source/documentation control and for storing for example big binary
> build results, without the need to obliterate older versions. 
> 
> For relatively small projects, the environment can be much simpler:
> just one svn repository and no need for other
> repositories/fileshares/workspaces/etc for storing your builds or
> other binary data for reuse.
> Another advantage is the sources and builds are accessible by the same
> svn client. 
> 
> And you would have the possibility to store project data that does not
> need version control (project photo's, mailbox, etc).
> 
> What do you think of it?

Other people do want this too and have requested it a few times over the
years. This use case is listed briefly in section 2.4 in
<http://svn.apache.org/repos/asf/subversion/trunk/notes/obliterate/req-spec.txt>, because it is related to "obliterate", although it is really a separate feature that could use the functionality of "obliterate" in its implementation, but could also be implemented in other ways.

I am not currently planning to design or implement anything towards
making this use case easy or automatic, but the "obliterate" that I am
working on will make it possible to remove the older versions of a file
while keeping the latest version.

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2429198

Please start new threads on the <[email protected]> mailing list.
To subscribe to the new list, send an empty e-mail to <[email protected]>.