Is it possible to find revisions in SVN where in a merge operation was performed

I am trying to find the revision list on the branch where the merge was performed (this could be from any branch in SVN)

I've searched many times and found ways to identify Revisions that have been merged, and even revisions that should be merged (using svn mergeinfo), but that's not what I'm looking for.

I need the revision where the merge was done in the development line for which the url is passed as a parameter. I note that this repository uses mergeinfo and I only want to use it.

After hours of searching, I finally give up on this. It seems that this is either not possible or I was looking in the wrong direction :(

Does anyone know how to do this?

+3


source to share


1 answer


Unfortunately, this is not possible out of the box: Merge actions are recognized by changing the svn: mergeinfo property .

The problem is that you cannot see if a change has been made to the contents of the file / directory or if a change has been made in some properties by looking at the svn log. You need to make a difference between these versions.



A very simple solution might be that the users performing the merge operation should add a keyword to the log message (ex: MERGE). It's pretty easy to check with a pre-commit hook if the keyword is present in a specific log message

0


source







All Articles