jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1524941 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java
Date Fri, 20 Sep 2013 08:33:06 GMT
Author: mduerig
Date: Fri Sep 20 08:33:06 2013
New Revision: 1524941

URL: http://svn.apache.org/r1524941
Log:
OAK-1029: ConflictAnnotatingRebaseDiff reports spurious changeDeletedNode conflicts

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java?rev=1524941&r1=1524940&r2=1524941&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java
Fri Sep 20 08:33:06 2013
@@ -217,6 +217,8 @@ public abstract class AbstractRebaseDiff
             String name, NodeState before, NodeState after) {
         if (builder.hasChildNode(name)) {
             after.compareAgainstBaseState(before, createDiff(builder, name));
+        } else if (after.equals(before)) {
+            return false;
         } else {
             changeDeletedNode(builder, name, after);
         }



Mime
View raw message