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

Hook to check for a presence of file before committing

From: Tech Geek <techgeek12345_at_gmail.com>
Date: Mon, 30 Aug 2010 10:50:17 -0700


I am just getting started with SVN and I am running the latest version of
subversion on a Windows Server. I am looking for a pre-commit.bat hook that
will check for presence of a particular file (say project.xml) before
commiting to the repository. If the working copy that is about to be
committed does not have that file then the commits are rejected else the
commits are accepted.

I tried looking into svnlook command but not sure how to that command to
look for a particular file.

I am using TortoiseSVN client.

Received on 2010-08-30 19:50:58 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.