On Wednesday 07 September 2011, Marco Strullato wrote:
> So.. I would like to configure subversion so that when a user commits

This sounds like a post-commit hook.


> a binary file,

What is a binary file? At least I don't have any analog files on my computer. 
;) Seriously, you will have to define a bit more precisely what you mean by 
that. This might involve checking the file for the svn:mime-type property, a 
custom property, a certain extension or other criteria. In any case, you will 
have to write a small program to make this decision; SVN only provides you a 
few tools to achieve your goals.


> it would be automatically stored in a remote place
> (i.e. ftp). I believe it can be done by a hook but I found nothing.

Take a look at post-commit hooks. From there, you could e.g. update/checkout 
an existing working copy and upload the changed files. Note that in some 
cases, you could also just use a working copy on the remote machine and pull 
the changes from there, triggered via SSH from the SVN server.


Cheers!

Uli


-- 
ML: http://subversion.apache.org/docs/community-guide/mailing-lists.html
FAQ: http://subversion.apache.org/faq.html
Docs: http://svnbook.red-bean.com/

**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
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. Domino Laser GmbH ist für diese Folgen nicht 
verantwortlich.
**************************************************************************************

Reply via email to