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

RE: pre-commit hook to disallow spaces in filenames

From: Georg Viehöver <viehoever_at_sigma-c.de>
Date: 2005-07-26 16:50:45 CEST

You could use the script \tools\hook-scripts\svnperms.py (in the subversion source tree) and use a config like

# disallow blanks in file names
\S*\s+.* = *(remove)
# disallow reserved names on windows
.*(con|prn|aux|nul|com\d|lpt\d].* = *(remove)

to allow only removes for critical file names

Georg
> -----Original Message-----
> From: Romain Prévost [mailto:prevost.romain@gmail.com]
> Sent: Tuesday, July 26, 2005 9:11 AM
> To: David Weintraub
> Cc: users@subversion.tigris.org
> Subject: Re: pre-commit hook to disallow spaces in filenames
>
> Well, as a matter of fact, what is aux.h ? I can't find any relevant
> info ?
>
> 2005/7/25, David Weintraub <qazwart@gmail.com>:
> > A rather interesting idea. It would be nice if you could specify a
> > regular expression on the types of files you cannot add.
...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 26 16:52:53 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.