You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by StopTheSpam <su...@earthlink.net> on 2005/07/25 04:14:57 UTC

pre-commit hook to disallow spaces in filenames

Since spaces in filenames cause such headaches, I'd like to stop users from committing them. 

Does anyone have a pre-commit hook they are willing to share?

Thanks,
Carey

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: pre-commit hook to disallow spaces in filenames

Posted by John Szakmeister <jo...@szakmeister.net>.
On Tuesday 26 July 2005 03:11, Romain Prévost wrote:
> Well, as a matter of fact, what is aux.h ? I can't find any relevant info ?

It's one of the reserved names under Windows:
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/naming_a_file.asp>

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: pre-commit hook to disallow spaces in filenames

Posted by Romain Prévost <pr...@gmail.com>.
Well, as a matter of fact, what is aux.h ? I can't find any relevant info ?

2005/7/25, David Weintraub <qa...@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. That way, you
> can also prevent someone from creating a file called "aux.h" which is
> possible on Unix, but not on Windows.
> 
> I currently have a pre-commit hook that does a few different tasks. I
> should be able to expand it to list files that should never be added
> to the archive.
> 
> Should have something by the end of the day.
> 
> On 7/25/05, StopTheSpam <su...@earthlink.net> wrote:
> > Since spaces in filenames cause such headaches, I'd like to stop users from committing them.
> >
> > Does anyone have a pre-commit hook they are willing to share?
> >
> > Thanks,
> > Carey
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
> 
> 
> --
> --
> David Weintraub
> qazwart@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


-- 
Romain Prévost
Epitech promotion 2007

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: pre-commit hook to disallow spaces in filenames

Posted by David Weintraub <qa...@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. That way, you
can also prevent someone from creating a file called "aux.h" which is
possible on Unix, but not on Windows.

I currently have a pre-commit hook that does a few different tasks. I
should be able to expand it to list files that should never be added
to the archive.

Should have something by the end of the day.

On 7/25/05, StopTheSpam <su...@earthlink.net> wrote:
> Since spaces in filenames cause such headaches, I'd like to stop users from committing them.
> 
> Does anyone have a pre-commit hook they are willing to share?
> 
> Thanks,
> Carey
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


-- 
--
David Weintraub
qazwart@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org