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

Re: Pre-commit hooks and access to files

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Tue, 18 Aug 2009 17:21:10 -0500

On Aug 18, 2009, at 14:06, David Weintraub wrote:

> Let's take Answer #1: You cannot modify the files in the commit
> itself. You can examine the files with the svnlook command, but you
> can't modify them. How could you? The working copy is sitting on
> the developer's computer, and the hook is running on the server.
> You simply don't have access to the files in order to modify them.

I'm told you actually do have access to the files, if you use the
Subversion language bindings to access the transaction. But, you must
not do so.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385015

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-19 00:22:15 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.