You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Cheng Wei Lee <zh...@gmail.com> on 2008/01/23 07:58:37 UTC

Disallow adding of certain file types into the repository

Is there any out of the book feature to disallow certain file types from
being added into the repository? Or is the best way to write a pre-commit
hook for this?

Re: Disallow adding of certain file types into the repository

Posted by Cheng Wei Lee <zh...@gmail.com>.
Thanks, shall explore the svn:ignore first.

2008/1/23 Ulrich Eckhardt <ec...@satorlaser.com>:

> On Wednesday 23 January 2008, Cheng Wei Lee wrote:
> > Is there any out of the book feature to disallow certain file types from
> > being added into the repository? Or is the best way to write a
> pre-commit
> > hook for this?
>
> Ryan already told you about the hard guarantee, but there is another one
> that
> might do what you need: take a look at the svn:ignore property in
> Subversion
> book.
>
> Uli
>
> --
> ML: http://subversion.tigris.org/mailing-list-guidelines.html
> FAQ: http://subversion.tigris.org/faq.html
> Docs: http://svnbook.red-bean.com/
>
> Sator Laser GmbH
> Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
>
>
> **************************************************************************************
>           Visit our website at <http://www.satorlaser.de/>
>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten
> bestimmt und kann vertrauliche Informationen enthalten. Bitte
> benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte
> Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf
> weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt
> werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie
> nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
> Folgen nicht verantwortlich.
>
>
> **************************************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Re: Disallow adding of certain file types into the repository

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Wednesday 23 January 2008, Cheng Wei Lee wrote:
> Is there any out of the book feature to disallow certain file types from
> being added into the repository? Or is the best way to write a pre-commit
> hook for this?

Ryan already told you about the hard guarantee, but there is another one that 
might do what you need: take a look at the svn:ignore property in Subversion 
book.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/

Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932

**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.

**************************************************************************************


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


Re: Disallow adding of certain file types into the repository

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 23, 2008, at 01:58, Cheng Wei Lee wrote:

> Is there any out of the book feature to disallow certain file types  
> from being added into the repository? Or is the best way to write a  
> pre-commit hook for this?

The only way I know of is to write a pre-commit hook.


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