You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Julian Foad (JIRA)" <ji...@apache.org> on 2018/11/30 13:59:01 UTC
[jira] [Commented] (SVN-4786) Create a WC working-mods editor
[ https://issues.apache.org/jira/browse/SVN-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704765#comment-16704765 ]
Julian Foad commented on SVN-4786:
----------------------------------
The new API svn_client__wc_editor() is in place.
The difficult part is handling the 'copy file' and especially 'copy directory' methods, as the WC requires to fetch the bases of the copied things but doesn't have a clean way to receive them.
The new API svn_client__repos_to_wc_copy()is beginning to encapsulate this 'copy' functionality. Presently it inherits the existing ugly 'perform a checkout' implementation when copying a directory.
> Create a WC working-mods editor
> -------------------------------
>
> Key: SVN-4786
> URL: https://issues.apache.org/jira/browse/SVN-4786
> Project: Subversion
> Issue Type: Task
> Components: libsvn_client
> Reporter: Julian Foad
> Assignee: Julian Foad
> Priority: Major
>
> Create a delta-editor that applies working modifications to the WC.
> It will be useful for implementing things such as shelving, which in principle (and, with this in place, more easily in practice) are just copying a set of modifications from WC to shelf and from shelf to WC.
> Use it to implement the existing client modifications ('svn add', 'svn copy', 'svn rm', etc.). Why? (1) ensure it works for and fully supports those cases; (2) ensure those cases are handled consistently (it will probably reveal inconsistencies in the old implementation).
> See dev@ thread "Crazy idea: changes in WC should share an API with changes in repository", from Julian Foad, 2018-11-09.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)