Re: Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread Daniel Shahaf
Some ideas: - Parse the operational log to determine the IP address of the commit - Pass the hostname and wc path in a revprop - Embed the hostname and wc path in the user-agent string and use persist-ephemeral-txnprops.py [admittedly a bit hacky; this isn't what the user-agent string is

Re: Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread Thorsten
Hello, 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

Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread 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