[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion server

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 05 Jul 2018 15:23:43 +0000

Daniel Shahaf wrote on Thu, 05 Jul 2018 15:22 +0000:
> 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.
>

The "reporter" is the server-side interface that answers 'svn update' requests.

> > * 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...
Received on 2018-07-05 17:23:55 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.