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

Re: Feature request: expand wildcards

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 5 Jan 2011 00:26:30 +0200

Stefan Sperling wrote on Tue, Jan 04, 2011 at 22:44:49 +0100:
> On Tue, Jan 04, 2011 at 10:47:52PM +0200, Daniel Shahaf wrote:
> > Daniel Shahaf wrote on Tue, Jan 04, 2011 at 22:22:18 +0200:
> > > It's hacky, but:
> > >
> > > svn commit --changelist :glob:'*.foo'
> > >
> > > where the "changelist" is then interpreted as a glob pattern
> > > (let's say apr_fnmatch()).
> > >
> > > Thoughts?
> > >
> >
> > That wasn't hard:
> >
> > [[[
> > % $svn st -q
> > M subversion/libsvn_wc/adm_ops.c
> > M COMMITTERS
> > % $svn st -q --cl ':glob:*.c'
> > M subversion/libsvn_wc/adm_ops.c
> > %
> > ]]]
> >
> > Daniel
> > (still want to hear if people think it's actually a useful addition)
>
> This is quite similar to the --include-pattern and --exclude-pattern
> options we temporarily had on trunk (for svn patch; they have since been
> removed again).
>
> Do we really need to overload --changelist?

It does the same thing this feature does (specify targets), and
overloading means we don't have to revv the 23 client APIs which use
changelists.

But I'm not sure I like the change myself.

Daniel
(btw, do we have a way to say "except files in $this changelist"?)
Received on 2011-01-04 23:40:37 CET

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.