You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Bert Huijben (JIRA)" <ji...@apache.org> on 2016/12/19 16:22:58 UTC

[jira] [Comment Edited] (SVN-4579) svnmucc fails to process certain deletes

    [ https://issues.apache.org/jira/browse/SVN-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761587#comment-15761587 ] 

Bert Huijben edited comment on SVN-4579 at 12/19/16 4:22 PM:
-------------------------------------------------------------

While the first few cases described in this issue describe operations that are mostly invalid, like deleting something that is already deleted, or setting a property on a node that is deleted later in the same commit, this example should just work. I will try to get this fixed for the next (patch) release.


was (Author: rhuijben):
While the first few cases described in this issue describe operations that are mostly invalid -like deleting something that is already deleted, or setting a property on a node that is deleted in the same commit- this example should just work. I will try to et this fixed for the next (patch) release.

> svnmucc fails to process certain deletes
> ----------------------------------------
>
>                 Key: SVN-4579
>                 URL: https://issues.apache.org/jira/browse/SVN-4579
>             Project: Subversion
>          Issue Type: Bug
>          Components: svnmucc
>    Affects Versions: 1.9.x
>            Reporter: Evgeny Kotkov
>             Fix For: 1.9.0
>
>
> {noformat:nopanel=true}
> 'svnmucc' fails to process action sequences where a delete action follows
> a modify/propset or another delete on the same path.  This behavior is a
> regression in Subversion 1.9.0 RC1 compared to 1.8.13:
>   echo content > file
>   svnmucc --root-url URL --message "r1" put file /file
>   svnmucc --root-url URL --message "r2" put file /file rm /file
>   # svnmucc: E200009: Can't delete node at 'file'
>   echo content > file
>   svnmucc --root-url URL --message "r1" put file /file
>   svnmucc --root-url URL --message "r2" propset prop val /file rm /file
>   # svnmucc: E200009: Can't delete node at 'file'
>   echo content > file
>   svnmucc --root-url URL --message "r1" put file /file
>   svnmucc --root-url URL --message "r2" rm /file rm /file
>   # svnmucc: E160013: Can't delete node at 'file' as it does not exist
>   # (nothing is committed to the repository, and /file still exists in HEAD)
> With Subversion 1.8.13, these command sequences end without errors and
> remove /file.  The corresponding design decision is documented in
> ^/subversion/branches/1.8.x/subversion/svnmucc/svnmucc.c:460:
>   /* We won't fuss about multiple operations on the same path in the
>      following cases:
>        - the prior operation was, in fact, a no-op (open)
>        - the prior operation was a propset placeholder
>        - the prior operation was a deletion ... */
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)