Hello Babu,

On Tue, May 20, 2014 at 11:42 AM,  <babu.an...@gmail.com> wrote:
> Ok. Thank you for the reply. But my another question is still pending.
> How can we obtain the repository folder/file path for post lock/unlock hook?
> Even if we write a script does the hook get absolute path for repository
> folder/file?
> from the book the for lock/unlock notification have below mentioned
> parameters
> Input parameter(s)
>
> The command-line arguments passed to the hook program, in order, are:
>
> Repository path
>
> Authenticated username of the person who locked the paths

Please carefully read the SVNBook reference at
www.visualsvn.com/support/svnbook/ref/reposhooks/post-lock/

[[
Additionally, the list of paths locked is passed to the hook program
via standard input, one path per line.
]]

For example, this sample batch script will output locked paths to test.txt file.

[[
for /F "tokens=*" %%a in ('more') do (
  echo %%a >> test.txt
)
]]

--
With best regards,
Pavel Lyalyakin
VisualSVN Team

-- 
You received this message because you are subscribed to the Google Groups 
"VisualSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to visualsvn+unsubscr...@googlegroups.com.
To post to this group, send email to visualsvn@googlegroups.com.
Visit this group at http://groups.google.com/group/visualsvn.
For more options, visit https://groups.google.com/d/optout.

Reply via email to