[
https://issues.apache.org/jira/browse/SVN-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609477#comment-16609477
]
Julian Foad commented on SVN-4745:
----------------------------------
I have determined that we will need to use the original "delta editor" API to
represent a general committable change. The diff processor API is not going to
be suitable, because a committable change is not a difference between two trees
but a description of one new tree containing copies from an arbitrary number of
source subtrees that already exist in the repository history.
The delta editor will be the required API not just for "shelf-diff" but for
moving changes into and out of a shelf from/to the main WC. This means we
require the following:
* shelf: push changes to delta-editor API
* shelf: receive changes from delta-editor API
* WC: push changes to delta-editor API
* WC: receive changes from delta-editor API
Only one of these partially exists: the WC can push changes to an RA commit
editor. However that is tightly coupled and needs to be decoupled so we can
switch in a shelf as an alternative target.
> Shelving: "shelf-diff"
> ----------------------
>
> Key: SVN-4745
> URL: https://issues.apache.org/jira/browse/SVN-4745
> Project: Subversion
> Issue Type: Sub-task
> Reporter: Julian Foad
> Assignee: Julian Foad
> Priority: Major
>
> Re-implement the currently broken "svn shelf-diff" feature.
> A sub-task: abstract the existing "diff" code so we can re-use it here, a
> moderately small but tricky task.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)