On Mar 3, 2016, at 12:50 AM, Jackie Xiao wrote:
> 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)…
Could you instead check for the presence of the svn:mergeinfo property?
|