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 2017/11/04 00:09:00 UTC

[jira] [Commented] (SVN-4701) SVN rename requires exact case matching for SRC

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

Bert Huijben commented on SVN-4701:
-----------------------------------

The problem here is not that the passed path has to match, but that you are passing paths with two different base directories... one absolute and one via the current directory (which is transformed to absolute before passing it to the Subversion api). And those two have different casing

> SVN rename requires exact case matching for SRC
> -----------------------------------------------
>
>                 Key: SVN-4701
>                 URL: https://issues.apache.org/jira/browse/SVN-4701
>             Project: Subversion
>          Issue Type: Bug
>            Reporter: Dan Ellis
>            Priority: Minor
>
> Performing svn rename using an absolute on-disk path requires exact case matching.  
> (https://svn.haxx.se/users/archive-2017-10/0054.shtml)
> [[[
> C:\Temp\test>svnadmin create repos
> C:\Temp\test>svn co file:///C:/temp/test/repos wc
> Checked out revision 0.
> C:\Temp\test>cd wc
> C:\Temp\test\wc>echo test > foo.txt
> C:\Temp\test\wc>svn add foo.txt
> A         foo.txt
> C:\Temp\test\wc>svn ci -mm
> Adding         foo.txt
> Transmitting file data .done
> Committing transaction...
> Committed revision 1.
> C:\Temp\test\wc>svn rename C:\temp\test\wc\foo.txt bar.txt
> svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help
> cleanup' for details)
> svn: E155004: Working copy 'C:\Temp\test\wc' locked.
> svn: E155004: 'C:\Temp\test\wc' is already locked.
> C:\Temp\test\wc>svn rename C:\Temp\test\wc\foo.txt bar.txt
> A         bar.txt
> D         foo.txt
> ]]]
> [[[
> C:\Temp\test\wc>C:\research\svn\dev\trunk\dist\bin\svn rename
> C:\temp\test\wc\foo.txt bar.txt
> ..\..\..\subversion\svn\svn.c:3149: (apr_err=SVN_ERR_WC_LOCKED)
> svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help
> cleanup' for details)
> ..\..\..\subversion\svn\move-cmd.c:102,
> ..\..\..\subversion\svn\util.c:555,
> ..\..\..\subversion\libsvn_client\copy.c:3298,
> ..\..\..\subversion\libsvn_client\copy.c:3082,
> ..\..\..\subversion\libsvn_client\copy.c:925,
> ..\..\..\subversion\libsvn_client\copy.c:834,
> ..\..\..\subversion\libsvn_wc\lock.c:1560,
> ..\..\..\subversion\libsvn_wc\wc_db.c:14588,
> ..\..\..\subversion\libsvn_wc\wc_db.c:14503: (apr_err=SVN_ERR_WC_LOCKED)
> svn: E155004: Working copy 'C:\Temp\test\wc' locked.
> ..\..\..\subversion\libsvn_wc\wc_db.c:14495: (apr_err=SVN_ERR_WC_LOCKED)
> svn: E155004: 'C:\Temp\test\wc' is already locked.
> ]]]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)