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

Re: how to write a pre-commit hook to detect svn:externals

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Thu, 7 May 2009 05:59:44 -0500

On May 7, 2009, at 05:16, fida aljounaidi wrote:

> Is it possible to write a pre-commit hook to detect setting an
> svn:externals definition ?

Yes, it is. "svnlook dirs-changed" will get you the list of
directories changed by the incoming transaction. On each, you can
then run "svnlook proplist" or "svnlook propget" to see if the
svn:externals property is being set.

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

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