pre-lock hook parameters

12 views
Skip to first unread message

lorenz

unread,
Feb 11, 2021, 6:12:23 AM2/11/21
to torto...@googlegroups.com
ok next question 8-)

my pre-lock hook batch file looks like:

echo Path '%1' > con
echo Lock '%2' > con
echo Force '%3' > con
echo Message '%4' > con
echo Error '%5' > con
echo CWD '%6' > con

echo ----- Path > con
type %1 > con 2>&1
echo ----- Message > con
type %4 > con 2>&1
echo ----- > con

pause < con > con
exit 1

in the moment. Just for checking all input data sources for now.

As I see it, there is either an error in the documentation of the
Pre-Lock parameters, or a bug.
Because the 5th parameter is populated with the WC root path and the
6th parameter is always empty.

Documentation tells:
Pre-lock
PATH LOCK FORCE MESSAGEFILE ERROR CWD
--

Lorenz

Daniel Sahlberg

unread,
Feb 11, 2021, 6:45:28 AM2/11/21
to TortoiseSVN on behalf of lorenznl
This was also part of the fixes I mentioned earlier. 

/Daniel 

lorenz

unread,
Feb 11, 2021, 7:04:27 AM2/11/21
to torto...@googlegroups.com
not sure I undersatnd you correctly.

are you saying, that you fixed the documentation too?

Because both, the application help file, as the online documentation
both show 6 parameters.

...

but then the application help file states version 1.9.
The online documentation seems to be up to date though (1.14 r29080)
--

Lorenz


>
>/Daniel

Daniel Sahlberg

unread,
Feb 11, 2021, 7:09:33 AM2/11/21
to TortoiseSVN on behalf of lorenznl
Den tors 11 feb. 2021 kl 13:04 skrev TortoiseSVN on behalf of lorenznl <torto...@googlegroups.com>:
are you saying, that you fixed the documentation too?

Yes, there was a fix for this, however it seems it didn't get merged into 1.14.1 

/Daniel

lorenz

unread,
Feb 11, 2021, 7:46:34 AM2/11/21
to torto...@googlegroups.com
thanks for the clarification
--

Lorenz


>
>/Daniel

Reply all
Reply to author
Forward
0 new messages