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

Directory properties conflicts strange issue...

From: Brice Figureau <brice+svk_at_daysofwonder.com>
Date: 2007-10-11 13:14:15 CEST

Hi,

I think I've found a bug, but as stated in the issuezilla netiquette, I
first wanted to post it here, maybe I missed something obvious :-)

Using subversion 1.4.4, it seems that properties added to the root
directory of a working copy are not handled the same way as properties
added to a regular directory below root, regarding conflicts.

Ex:
$ svnadmin create testprop
$ svn co file://`pwd`/testprop
Checked out revision 0.
$ svn co file://`pwd`/testprop a
Checked out revision 0.
$ svn co file://`pwd`/testprop b
Checked out revision 0.
$ cd a
$ svn mkdir dir
A dir
$ svn ci -m "r1"
Adding dir

Committed revision 1.
$ svn propset 'prop' 'value 1' dir
property 'prop' set on 'dir'
$ svn ci -m "r2"
Sending dir

Committed revision 2.
$ cd ../b
$ svn up -r1
A dir
Updated to revision 1.
$ svn propset 'prop' 'conflict' dir
property 'prop' set on 'dir'
$ svn ci -m "r3"
Sending dir
svn: Commit failed (details follow):
svn: Out of date: '/dir' in transaction '2-1'

The last commit has properly failed.
Now doing the same test on the root directory of the working copy:

$ svnadmin create testprop
$ svn co file://`pwd`/testprop a
Checked out revision 0.
$ svn co file://`pwd`/testprop b
Checked out revision 0.
$ cd a
$ svn propset 'prop' 'value 1' .
property 'prop' set on '.'
$ svn ci -m "r1"
Sending .

Committed revision 1.
$ cd ../b
$ svn propset 'prop' 'value 2' .
property 'prop' set on '.'
$ svn ci -m "r2"
Sending .

Committed revision 2.

And it didn't fail...
Is it the intended behavior ?

Thanks,

-- 
Brice Figureau <brice+svk@daysofwonder.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 11 13:14:39 2007

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

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