Re: Hook to check for a presence of file before committing
From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Mon, 30 Aug 2010 19:37:45 -0500
You should use Reply All so your replies go to the mailing list too, not just to me.
On Aug 30, 2010, at 19:32, Tech Geek wrote:
> Ryan,
In hook scripts, people commonly use "svnlook changed", but that only tells you what files changed in a revision, or in a transaction. It does not tell you what is in the HEAD of the repository, and it does not tell you what is in the user's working copy. So unless your requirement is that the user modify your project.xml file with every commit, this will not help you.
Perhaps if you explain why you want to check for the existence of this file in the working copy we can help you find a different way of going about it.
|
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.