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

Bug in conflict summary after partial resolution

From: Mattias Engdegård <mattiase_at_bredband.net>
Date: Sun, 14 Apr 2013 12:57:27 +0200

If a file has both text and property conflicts, only resolving one of
them leads to an incorrect conflict summary message. Example:

$ svnadmin create repo
$ svn co file://$PWD/repo d1
$ svn co file://$PWD/repo d2
$ cd d1
$ echo a > f; svn add f; svn ps p x f
$ svn ci -m m
$ cd ../d2
$ echo b > f; svn add f; svn ps p y f
$ svn up
Updating '.':
CC f
Updated to revision 1.
Conflict for property 'p' discovered on 'f'.
Trying to add new property 'p'
but the property already exists.
<<<<<<< (local property value)
y=======
x>>>>>>> (incoming property value)

Select: (p) postpone, (mf) mine-full, (tf) theirs-full, (q) quit,
         (h) help: p
Conflict discovered in file 'f'.
Select: (p) postpone, (df) diff-full, (e) edit, (m) merge,
         (mc) mine-conflict, (tc) theirs-conflict, (s) show all
options: mc
Resolved conflicted state of 'f'
Summary of conflicts:
   Text conflicts: 0 remaining (and 1 already resolved)
   Property conflicts: 0 remaining (and 1 already resolved)
$ svn st
MC f
? f.prej
Summary of conflicts:
   Property conflicts: 1
Received on 2013-04-14 12:58:04 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.