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

Re: [subversion-dev] Working repos; move/delete issues; XML

From: Jonathan S. Shapiro <shap_at_eros-os.org>
Date: 2000-06-16 22:30:50 CEST

> Yep. This would be a very valuable thing. CVS gets this half-right
> with the cvsignore file. To complete it, what you want is the
> *opposite* of a cvsignore file - a set of patterns that, if any of
> them match and aren't in the repository, cause an operation to fail.

In the current dcms implementation, the equivalent file has lines of the
form

include <shell-glob-pattern>
exclude <shell-glob-pattern>

The entries are processed in the order they appear in the file. Last match
wins. This really is quite powerful. I've already found places where it's
been useful just in working on PCMS itself.

The "default" rules for include/exclude (equivalent to the CVSIGNORE
variable) logically are processed ahead of the .pcms-ignore entries. Because
of the "last rule wins" rule, they can be locally corrected without making
environment variable changes.

shap
Received on Sat Oct 21 14:36:05 2006

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