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

Re: [DESIGN] Enhanced svn:ignore syntax

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-01-17 21:19:07 CET

Max Bowsher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The thread "inverse of svn:ignore property" raised issues with
> inflexibility of the svn:ignore syntax. In response, here is a proposal
> for an enhanced syntax.
>
>
>
> Observation: In the current syntax there is no legal way to use a '/' in
> ignore items, since they must apply to direct children of the directory.
> Therefore we can use '/' as a signifier of some extended syntax without
> rendering any old ignore props subject to changed interpretation.
>
>
> Desired features:
> * Selectively unignore patterns, for when the undesired files cannot be
> concisely specified, but the desired ones can.
> * Patterns applying only to directories or only to files.
> * Extensibility for future features.
>
>
> Proposal, by example:
>
> Example 1:
>
> !/*.cat
> !/*.dog
> *
>

Hm. There'se already a well-established syntax for decorating regular
expressions (or globs, in our case); sed, perl, etc. use it; so maybe
the flags should follow the pattern, e.g.,

*.cat/!

(One feature that lots of people will come shouting for are
case-insensitive ignore patterns, and perhaps true regular expressions
in the svn:ignore prop.)

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 17 23:47:46 2006

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