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

Re: Getting working copy information in Subversion pre-commit hook?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 12 Sep 2008 17:51:56 -0500

On Sep 12, 2008, at 10:10, Alec Kloss wrote:

> I suspect this would require a client change, but it would be
> really handy to be able to get the client's idea of repository URL
> and repository root from inside a pre-commit hook. It would allow
> the error message returned to the client to provide correct local
> filesystem paths and/or URLs into the repository. The client has
> the data handy (it's exactly what svn info shows) and as far as I
> can tell, there's no reliable way to compute it on the server.
>
> Thoughts?

You're right, the server has no idea what working copy you committed
from. There's no way to do this. I doubt that's going to change
either because there's really no need for the server to know. And the
user hopefully already knows what working copy they're in.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-13 00:52: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.