Re: Hook to check for a presence of file before committing
From: Jim Thompson <jfthomps_at_wisc.edu>
Date: Tue, 31 Aug 2010 11:29:41 -0500
SVN has a pristine copy of the checked-out files along with the working copy. When you issue a commit, SVN compares the pristine and the local files and _only_ sends the diffs. So the presence of any file doesn't automatically mean that it will be visible in the commit _unless_ it changes every time.
Hope this helps.
Cheers,
On Aug 31, 2010, at 11:22 AM, Tech Geek wrote:
> >You want to enforce that the developer cannot commit unless they have this project.xml in >their working copy, though it will never be sent to the repository.
|
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.