[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Is this an ra_dav/wcprops bug?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-02-15 02:48:10 CET

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
Received on Sat Feb 15 02:48:55 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.