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

RE: *.p[0-9]* not possible as svn:ignore pattern?

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-04-05 16:11:53 CEST

> From: John Szakmeister [mailto:john@szakmeister.net]
>
> On Monday 04 April 2005 22:16, Greg Matheson wrote:
> > I want to use *.p[0-9]* as a svn:ignore pattern to match the 400
> > postscript files I am generating in my working copies without
> > matching my perl files, but it doesn't seem to be being
> > recognized. Writing out the *.p0*, *.p1*, etc takes a lot of
> > lines.
>
> No, it gives a regular expression pattern, and unfortunately,
> we don't
> support that. :-( Patches welcome!

I made the same mistake -- it's not a regexp, it only looks like one. As a
regexp it would be ".*\.p[0-9].*". Compare with his last sentence "Writing
out the *.p0*, *.p1*, etc. ..."

But this is a deficiency in the documentation -- the exact syntax of
svn:ignore patterns should be defined clearly. Similarly for other places
where wildcards are allowed, e.g., in the auto-properties list. This is
particularly important because various different shells allow various
different wildcard syntaxes. (E.g., is {...,...} supported?)

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 5 16:16:28 2005

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.