[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Incorrect handling of svn:mergeinfo during merging on the svnpatch-diff branch

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Mon, 1 Sep 2008 17:39:20 +0200

I discovered 2 bugs in handling of svn:mergeinfo when I was performing some
merges on the svnpatch-diff branch.

1. Addition of incorrect svn:mergeinfo on some files or directories:

Steps to reproduce:
 svn co -r32624 https://svn.collab.net/repos/svn/branches/svnpatch-diff subversion-svnpatch-diff-r32624
 cd subversion-svnpatch-diff-r32624
 svn merge -r32500:32620 ^/trunk

This merge adds incorrect svn:mergeinfo on:
 build.conf
 subversion/include
 subversion/libsvn_subr
 subversion/tests/libsvn_subr

These files / directories don't have svn:mergeinfo before merging.
After merging, svn:mergeinfo on these files / directories doesn't contain:
 /trunk:1-31375,31378-32620

(Next `svn merge ^/trunk` would try to merge r25664:30782 from trunk which causes
many conflicts.)

2. Incomplete reversion of changes during reverse merging:

Steps to reproduce:
 svn co -r32625 https://svn.collab.net/repos/svn/branches/svnpatch-diff subversion-svnpatch-diff-r32625
 cd subversion-svnpatch-diff-r32625
 svn merge -c-32625 ^/branches/svnpatch-diff

r32625 added (incorrect) svn:mergeinfo on:
 build.conf
 subversion/include
 subversion/libsvn_subr
 subversion/tests/libsvn_subr

Reverse merging should delete svn:mergeinfo property, but it leaves empty svn:mergeinfo.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-09-01 17:42:04 CEST

This is an archived mail posted to the Subversion Dev mailing list.