subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <>
Subject Re: svn merge operation extremely slow
Date Mon, 03 Oct 2011 00:10:08 GMT
Kyle Leber wrote on Sun, Oct 02, 2011 at 20:05:19 -0400:
> Johan,
> I did a little more digging.  There were a few different places where svn
> seems to get hung up so I ran the gprof report on just the first one (the
> merge takes hours otherwise).  In this particular case, svn prints out that
> it is merging from a small text file while it is hanging for more than a
> minute @ 100% CPU.  When I examine "lsof", however, it see it actually has a
> different file open.  This one is a large (15 MB) "binary" file.  It turns
> out this binary file did not have a property in the trunk (which I think
> means it's treated as text, right?).  But in the branch it was marked as
> octet stream.   So perhaps svn is doing a text-based diff on this binary
> file because it used to be incorrectly marked as text?

If either side is marked as binary then svn will defer to the "Use
merge-right if merge-left == base, else conflict" algorithm.

Could you share the value of 'svn proplist --verbose' on both files?



View raw message