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

Re: Base revision on a svn: external from a pre-commit hook script

From: Ryan Schmidt <subversion-2012c_at_ryandesign.com>
Date: Fri, 22 Mar 2013 05:48:02 -0500

On Mar 21, 2013, at 18:27, luis montes wrote:

> Is it possible to know the base revision on a svn: external from a pre-commit hook script? If the external changes with the current transaction I figured I could possibly parse the svnlook diff output, but what if it does not change with the current transaction? I understand that information is kept on the client, so does the client send it to the server? For each external?

I don't believe the client sends that information to the server. If you know which items have svn:externals properties, you can inspect their properties to see what the current value is. Of course, the property value might not declare a revision.
Received on 2013-03-22 11:48:55 CET

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.