[
https://issues.apache.org/jira/browse/OAK-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511308#comment-13511308
]
Michael Dürig commented on OAK-464:
-----------------------------------
{{CommitBuilder}} already has rebase logic for trunk commits. Branch commits
are special cased [1]. Making this available through the API as Jukka suggested
[2] wouldn't increase complexity. To the contrary, having it explicitly there
would increase overall clarity.
[1]
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/CommitBuilder.java#L97
[2]
https://issues.apache.org/jira/browse/OAK-464?focusedCommentId=13505316&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13505316
> RootImpl.rebase() doesn't handle move operations correctly
> ----------------------------------------------------------
>
> Key: OAK-464
> URL: https://issues.apache.org/jira/browse/OAK-464
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Michael Dürig
>
> Doing {{RootImpl.rebase()}} causes moves to be changed to remove followed by
> add. Which causes moves of large sub trees to become very expensive.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira