subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <>
Subject RE: URL based commands not working in hooks\
Date Mon, 04 Feb 2013 11:35:51 GMT
Usually you shouldn't use 'svn log' from a hook.


When using hooks you want to use the 'svnlook' command instead of 'svn' as
you are looking directly at a transaction in progress. 

(And 'svnlook log' is more efficient than using the server that calls your
hook again to access the same repository)


'svn log' looks at the committed state, while 'svnlook log -t <transaction>
REPOS_PATH' looks at a transaction in progress.



But as Ryan mailed, we can't really help you without knowing what your
script tries to do.

(Looking at this error it might be that you try to commit while the hook is
invoked as part of another commit)





From: Ramachandran Raghavendran
Sent: maandag 4 februari 2013 11:55
Subject: URL based commands not working in hooks\




I have a hook that runs svn log. My VisualSVN server is set up to run on
Windows authentication.

When I do a commit, svn log command doesn't at all.


The event log says the following 


Could not MERGE resource "/svn/Test/!svn/txn  into........ [409, #0]


Can you help me what could have gone wrong please.





Best regards,


Ramachandran Raghavendran

IT Project Consultant


Direct +91 44 4748 3961  .



IT Operations - Infrastructure Management Services 


34 Egatoor, Kelambakkam . Tamil Nadu . 603 103 . India

Tel +91 4447481000 . Fax +91 4427470301

Income Tax Permanent Account Number: AAACF4997N



Important note! Please note that this mail including any attachment may
contain confidential or privileged information for the intended recipient
only. If you receive this mail in error you should refrain from making any
use of the contents and from opening any attachment, but instead notify the
sender immediately by phone or mail. Thank you. Please also note that the
exchange of non-encrypted communication via the Internet may be compromised
electronically and for that reason we take no responsibility for the
integrity of such communication. This e-mail message has been swept by
antivirus systems for the presence of computer viruses. In doing so,
however, we cannot warrant that virus or other forms of data corruption
caused by such may not be present. We expect any recipient of e-mail
communication to have in place protection systems of his own choice.



View raw message