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

[DESIGN] Enhanced svn:ignore syntax

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-01-17 18:00:29 CET

-----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
Received on Tue Jan 17 20:55:57 2006

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

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