[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: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2006-01-17 21:06:33 CET

Seems reasonable to me.

On 1/17/06, Max Bowsher <maxb1@ukf.net> 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
> *
>
> .cat and .dog files are not to be ignored, but everything else is.
>
>
>
> Example 2:
>
> f/*
> d/tmp-*
>
> all files are to be ignored, but directories are ignored only if
> matching 'tmp-*'.
>
>
> Example 3:
>
> !f/*.d
> d/*.d
> f/*
>
> Files are ignored if they do NOT match '*.d', directories are ignore if
> the DO match '*.d'.
>
>
>
> So, thoughts?
> Is this adequate to file a FEATURE issue with?
>
> Max.
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Cygwin)
>
> iD8DBQFDzSKtfFNSmcDyxYARAo26AKCW951TSKSAQGbxykDyNr6MJ+p7UgCfefhZ
> g5gQ9wx2Pw7sdLDuOlivzZw=
> =yuOW
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
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:42:24 2006

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