You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Philip Martin (JIRA)" <ji...@apache.org> on 2018/03/16 13:23:00 UTC
[jira] [Commented] (SVN-4728) dump/load mergeinfo-mod difference
with --deltas
[ https://issues.apache.org/jira/browse/SVN-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401865#comment-16401865 ]
Philip Martin commented on SVN-4728:
------------------------------------
I can produce the same effect with a commit that sends an unchanged svn:mergeinfo
svnadmin create repo
svnmucc -mm -U [file://|file:///]`pwd`/repo mkdir A
svnmucc -mm -U [file://|file:///]`pwd`/repo propset svn:mergeinfo /B:1 A
svnmucc -mm -U [file://|file:///]`pwd`/repo propset svn:mergeinfo /B:1 A
This also sets mergeinfo-mod to true for r3.
> dump/load mergeinfo-mod difference with --deltas
> ------------------------------------------------
>
> Key: SVN-4728
> URL: https://issues.apache.org/jira/browse/SVN-4728
> Project: Subversion
> Issue Type: Bug
> Components: libsvn_fs_fs
> Affects Versions: trunk
> Reporter: Philip Martin
> Priority: Minor
>
> When a revision is a property-only change to a node that has svn:mergeinfo then a dump/load of that revision produces different representations in new repository depending on whether --deltas is used when dumping.
> The original repository:
> svnadmin create repo
> svnmucc -mm -U [file://|file:///]`pwd`/repo mkdir A
> svnmucc -mm -U [file://|file:///]`pwd`/repo propset svn:mergeinfo /B:1 A
> svnmucc -mm -U [file://|file:///]`pwd`/repo propset p2 v2 A
> Dump and load without --deltas
> svnadmin dump repo | svnadmin load repo2
> svnadmin dump --deltas repo | svnadmin load repo3
> Note the difference in the r3 revision files:
> $ grep -a modify-dir repo[23]/db/revs/0/3
> repo2/db/revs/0/3:0-1.0.t2-2 modify-dir false true true /A
> repo3/db/revs/0/3:0-1.0.t2-2 modify-dir false true false /A
> Using --deltas has produced the correct value, the revision has no mergeinfo change.
> The field that differs is mergeinfo-mod, introduced in 1.9. The problem doesn't occur in earlier versions.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)