subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: Subversion server
Date Thu, 05 Jul 2018 15:22:48 GMT
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...

Mime
View raw message