[jira] [Commented] (SVN-1532) Switch a file to a dir: can't switch it back to the file

"Daniel Shahaf (Jira)" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997765#comment-16997765 ] 

Daniel Shahaf commented on SVN-1532:
------------------------------------

Further discussion here: https://mail-archives.apache.org/mod_mbox/subversion-dev/201912.mbox/%3Ccb446a6f-79f8-46df-a743-df82cf354841%40www.fastmail.com%3E

> Switch a file to a dir: can't switch it back to the file
> --------------------------------------------------------
>
>                 Key: SVN-1532
>                 URL: https://issues.apache.org/jira/browse/SVN-1532
>             Project: Subversion
>          Issue Type: Bug
>          Components: unknown
>    Affects Versions: all
>            Reporter: Julian Foad
>            Priority: Critical
>              Labels: patch
>             Fix For: unscheduled
>
>         Attachments: 1_svn-switch-test.sh, 2_svn-switch-test.patch
>
>
> {noformat:nopanel=true}
> "svn switch" is able to switch a file to a directory but, having done that,
> cannot switch the directory back to the file.  When "d" is a directory and "f"
> is a file, the output is:
> + svn switch file:///home/julianfoad/tmp/svn-switch-test/repos/d f
> D  f
> A  f
> Updated to revision 1.
> + svn switch file:///home/julianfoad/tmp/svn-switch-test/repos/f f
> /home/julianfoad/src/subversion/subversion/libsvn_repos/delta.c:209:
> (apr_err=160005)
> svn: Invalid filesystem path syntax
> svn: svn_repos_dir_delta: invalid editor anchoring; at least one of the input
> paths is not a directory and there was no source entry
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.