subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten>
Subject Re: Is it possible to get the location of WC in a post-commit hook?
Date Wed, 09 Jun 2021 08:48:43 GMT

Short answer: no its not possible.

I dont fully understand why you want to do this. Run "svn up" on any 
device to get the latest commit.

Run "svn st -u" or something else to check for incoming changes.

Other than that you could also do something fancy like create an own 
user for every working copy, that way you can differentiate them.

Hope that helps,

Thorsten Goetzke

Am 09/06/2021 um 09:38 schrieb Bo Berglund:
> I wrote a SVN mailer when we converted from CVSNT to SubVersion back in 2017.
> Its purpose is to send a nocely formatted commit message to subscribers and it
> has worked fine for years.
> But now I am missing one item in the mail, the location of the working copy from
> which the commit was done.
> I am working on a project where I have several WC in play, on my development
> device and the prototype and also a 3rd device. I have found it to be a bit
> difficult to keep track of which wc contains the latest commit so if it is
> possible to get this info on commit it would help a lot. These devices are all
> Linux.
> The mailer gets the data by calling svnlook.
> The svn server is on Windows Server 2016.

View raw message