Johan Corveleyn wrote on Thu, 05 Jul 2018 11:53 +0200: > I do think it would be a great feature though, to have --include and > --exclude options (with glob-like syntax, like our recent --search > option for 'svn ls') for certain svn commands. With server-side > support to only send the matching items (and falling back to pure > client-side filtering when talking to older servers). Then one could > do these as an efficient operation (if there is server-side support): >
Even without any new server-side support, if the client can be assumed to have `svn ls -R` output, then it can simply drive the reporter in the right way for the server to return exactly the right data. > * svn cat -R --include '*.txt' $URL > * svn export --include 'build.xml' $URL (<- creating sparse directory > structure with only the matching files) > * svn export --exclude '*.iso' $URL This reminds me of the new authz-with-globs feature...