[PATCH] Pre-lock script and general hook script fixes

2021-01-03 Thread Daniel Sahlberg via TortoiseSVN-dev
Hi, I've been investigating the pre-lock script and found a few things that doesn't make sense to me. *The first file in the pre-lock script argument is always empty* This is because CSVNProgressDlg::CmdLock is calling the PreLock hook using m_selectedPaths, however LockCommand::Execute is sett

Re: [PATCH] Pre-lock script and general hook script fixes

2021-01-03 Thread Daniel Sahlberg via TortoiseSVN-dev
Answering myself.. måndag 4 januari 2021 kl. 01:13:27 UTC+1 skrev Daniel Sahlberg: > Any ideas on this? Ideally Subversion would return the comment in addition > to the W160035 "Path ... is already locked ..." error message. I will see > if this is possible to add, it would also be beneficial f