You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@codematters.co.uk> on 2003/02/15 01:48:10 UTC

Is this an ra_dav/wcprops bug?

Hello

If I do this

export REPO=http://localhost:8888/tmp/repo
rm -rf /tmp/repo wc
svnadmin create /tmp/repo
svn mkdir $REPO/foo
svn mkdir $REPO/foo/bar
svn co -r1 $REPO wc
cat wc/.svn/dir-wcprops
svn up wc/foo
cat wc/.svn/dir-wcprops
cat wc/.svn/entries

then when I first examine dir-wcprops the version-url is

/tmp/repo/!svn/ver/1/

which looks sensible as I checked out revision 1.  After the update
the version-url becomes

/tmp/repo/!svn/ver/2/

which doesn't look right to me.  I haven't updated wc, and it's
revision in the entries file remains

revision="1"

I noticed this while working on a patch to make the update_editor's
change_dir_prop function cache the prop changes so that they can be
written write in the close_dir function, but it's reproducible with
HEAD.

You can see the same effect using svn.collab.net

svn co -r4370 http://svn.collab.net/repos/svn/trunk/tools/test-scripts wc
cat wc/.svn/dir-wcprops
svn up wc/svntest
cat wc/.svn/dir-wcprops

The version-url for wc changes from

/repos/svn/!svn/ver/2835/trunk/tools/test-scripts

to

/repos/svn/!svn/ver/4371/trunk/tools/test-scripts

although wc remains rev 4370.

Is ra_dav meant to work like this?

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Is this an ra_dav/wcprops bug?

Posted by Philip Martin <ph...@codematters.co.uk>.
cmpilato@collab.net writes:

> I'm pretty sure that this is a bug.  Looks like the DAV REPORT
> response handler isn't paying attention to anchors/targets.  Can you
> file an issue for this -- you can even assign it to me if you'd like.

OK, it's number 1136.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Is this an ra_dav/wcprops bug?

Posted by cm...@collab.net.
Philip Martin <ph...@codematters.co.uk> writes:

> Hello
> 
> If I do this
> 
> export REPO=http://localhost:8888/tmp/repo
> rm -rf /tmp/repo wc
> svnadmin create /tmp/repo
> svn mkdir $REPO/foo
> svn mkdir $REPO/foo/bar
> svn co -r1 $REPO wc
> cat wc/.svn/dir-wcprops
> svn up wc/foo
> cat wc/.svn/dir-wcprops
> cat wc/.svn/entries
> 
> then when I first examine dir-wcprops the version-url is
> 
> /tmp/repo/!svn/ver/1/
> 
> which looks sensible as I checked out revision 1.  After the update
> the version-url becomes
> 
> /tmp/repo/!svn/ver/2/
> 
> which doesn't look right to me.  I haven't updated wc, and it's
> revision in the entries file remains
> 
> revision="1"

I'm pretty sure that this is a bug.  Looks like the DAV REPORT
response handler isn't paying attention to anchors/targets.  Can you
file an issue for this -- you can even assign it to me if you'd like.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org