subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter van Hoof <>
Subject Re: merginfo corruption?
Date Mon, 23 Jan 2017 11:10:16 GMT

I have been sidetracked by other work for a while, but would like to get 
back to this now...

>> I double-checked this and checked out the branch at r8689. This is the result
>> % svn co svn://
>> % cd backtrace/
>> % svn proplist --verbose source/
>>    [...snip...]
>>    /trunk/source:8667-8688
>> So the revision in question is definitely marked as merged there... This
>> looks OK, which is also consistent with the fact that subsequent merges from
>> trunk showed no problems (r8784, r8788, r8815, r11144).
> You're only looking at one path. Mergeinfo is only inherited to paths
> which do not have an svn:mergeinfo property themselves.
> In my example above, svn:mergeinfo on the root of the working copy
> is irrelevant for any child (directory or file) within subtree A.
> Only mergeinfo on subtree A is considered for those children (unless
> of course where children have svn:mergeinfo themselves).

The backtrace branch has only been maintained by me, and my routine has 
always been to merge all changes from the root of the trunk to the root 
of the branch and then commit from the root of the branch. So I would 
expect the mergeinfo to be the same on subdirectories or individual 
files. However, when I checked this, I found this not to be the case.

These paths have separate mergeinfo records at r8689:


Apart from "source" they are all files. The full mergeinfo record for 
source is


So it has the same information for /trunk as the record at the root. The 
three files with individual mergeinfo records look different. One 
example for tsuite/auto/chianti_all_cool.dat is


So at revision 8689, the mergeinfo records at the root and the source 
subdirectory both indicate that r8669 is already merged at that point. 
Yet, when I do the merge now (at the head of this branch), it wants to 
merge changes in source/rt_continuum_shield_fcn.cpp from r8669. For me 
this points to corruption in the mergeinfo record or a bug in subversion 
(or both of course...).

So I would like to consider the svn-mergeinfo-normalizer tool that was 
mentioned earlier in this thread. But I need additional guidance on how 
to compile it and how I should use it. Do I need to fix the trunk, or 
the development branch, or both? How does this compare to the script?



View raw message