> -----Original Message----- > From: Stefan Sperling [mailto:s...@elego.de] > Sent: Monday, July 26, 2010 3:34 PM > To: svnusert...@href.com > Cc: dev@subversion.apache.org > Subject: Re: [PATCH] new feature, lazy sync via export -- > skipfilesmatchingsize >
[snip] > I don't know if there is interest in providing a feature for svn export > which allows exclusions of files from the export based on user-definable > criteria (which could include files size). Such a feature might stand a > better chance, but would be significantly more work to accomplish. Did I miss something, but wasn't the original spec "don't export files that are already on disk". Sure, that's not so far from 'don't export files based on criteria xyz", but its sufficiently different to be important. Ie. This isn't a filter mechanism, it's an optimisation designed to prevent unnecessary copying of data. Now, it might be that the filter isn't sufficient to detect whether a file is the same or not (and it might require timestamp or md5 support too), but I think this is a valuable option to have. If you have a directory full of source files, and it contains a sub-directory full of almost-never-changing, large binary files, then it would be great to initiate an export and have it recognise the binaries haven't changed and so don't need to re-downloaded over the top of the existing files. The flag could be better worded and the algorithm used to detect un-changed files may need making more robust, but otherwise I think it's a worthwhile addition. Next - export multiple times into a directory containing files without deleting any of them :) Andy