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

Re: Hook to check for a presence of file before committing

From: Tech Geek <techgeek12345_at_gmail.com>
Date: Tue, 31 Aug 2010 01:14:22 -0700

>It is possible to verify that a project.xml is one of the files being
>committed because you can use "svn changed" at the time of the
>transaction to see what files are being added or modified. It would be
>possible to fail the transaction if svnlook changed doesn't have a
>project.xml file in the list.

Yes that's exactly what I was hoping for. Do you happen to know any
template/example in perl/python that would give me some hint on how to
achieve this? I do not have much experience with either of the language but
can easily learn if I look at some examples.

And yes I am looking to implement on server side only.

Received on 2010-08-31 10:15:01 CEST

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.