subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jackie Xiao <jackie.x...@ebaotech.com>
Subject how to decide whether a commit is a merge in pre-commit hook
Date Thu, 03 Mar 2016 06:50:13 GMT
Dear list:

I'm writing a svn pre-commit hook, and I want to quit further rule checkings if the commit
is a merge operation.

I have searched online, it seems there are no way to distinguish normal commit from merge
commit.

My current way for handling this is very clumsy, get the changed list from "svnlook changed",
then iterate through every changed item to see if the line starts with _U (property changed)...

Any suggestions? Thanks in advance

Thanks
Best Regards

This e-mail and any attachments thereto are intended for the sole use of the recipient(s)
named above and may contain confidential and/or privileged material. Any use of the information
contained herein (including, but not limited to, total or partial reproduction, communication,
or dissemination in any form) by persons other than the intended recipient(s) is prohibited.
If you received this in error, please contact the sender immediately and delete the material
from any computer.

Mime
View raw message