[ 
https://issues.apache.org/jira/browse/SVN-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Zhakov updated SVN-2124:
-----------------------------
    Fix Version/s:     (was: 1.1.x)
                   1.1.2

> svn switch is broken over ra-dav (invalid wcprops)
> --------------------------------------------------
>
>                 Key: SVN-2124
>                 URL: https://issues.apache.org/jira/browse/SVN-2124
>             Project: Subversion
>          Issue Type: Bug
>          Components: mod_dav_svn
>    Affects Versions: trunk
>            Reporter: C. Michael Pilato
>            Assignee: Karl Fogel
>            Priority: Blocker
>             Fix For: 1.1.2
>
>         Attachments: 1_report-1.0, 2_report-1.1
>
>
> {noformat:nopanel=true}
> #!/bin/sh
> ### SET THIS UP IN A LOCATION THAT LOCAL APACHE CAN HIT ###
> URL=http://localhost/tests/repos
> REPOS=/home/cmpilato/tests/repos
> WC=/home/cmpilato/tests/wc
> rm -rf ${REPOS} ${WC}
> 'svn switch' is writing bogus wcprops when used over ra-dav.  See the 
> following
> recipe.  
> This does *not* appear to happen in the 1.0.x code line, but I suspect that 
> this
> is not so much because the bug didn't exist, but because the 1.0.x client 
> didn't
> drive switch in a way that trigger it.  (Revisions 9698 and 9705 might do just
> that for the 1.1.x line.)
> I'll follow up this report with ethereal traces from a HEAD 1.0.x build and 
> HEAD
> trunk builds, in which you can see that the 1.1 client drives the switch
> differently, and that the server responds with incorrect "checked-in" values
> (which ultimately wind up in the wcprops, and can cause such behaviors as
> inability to commit).
> ---------------
> #!/bin/sh
> ### SET THIS UP IN A LOCATION THAT LOCAL APACHE CAN HIT ###
> URL=http://localhost/tests/repos
> REPOS=/home/cmpilato/tests/repos
> WC=/home/cmpilato/tests/wc
> rm -rf ${REPOS} ${WC}
> svnadmin create ${REPOS}
> svn mkdir -m "mkdirs" \
>     ${URL}/trunk \
>     ${URL}/trunk/dir1 \
>     ${URL}/trunk/dir1/dir2 \
>     ${URL}/branches
> svn co ${URL}/trunk ${WC}
> svn cp -m "branch" ${URL}/trunk ${URL}/branches/my-branch
> svn switch ${URL}/branches/my-branch/dir1/dir2 ${WC}/dir1/dir2
> echo "*** THE VERSION RESOURCE URL SHOULD POINT TO DIR2, NOT DIR1 ***"
> cat ${WC}/dir1/dir2/.svn/dir-wcprops
> {noformat}



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

Reply via email to