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

copy-properties bug

From: Jan Reichmann <jr_at_skyrix.com>
Date: 2002-09-20 00:07:10 CEST

Hi,

I played a little with svn (r3033) and found a
'property-copy'-bug.

If you copy a file to in a directory, move/delete it from
the directory, copy it again in this directory,
all properties will be lost.

Yoy can reproduce this bug with following script:

...

cd $HOME/tmp

svnadmin create $HOME/tmp/myrepos

mkdir Foo

svn import -m xx file:///home/jan41/tmp/myrepos Foo Foo

rm -rf Foo

svn co file:///home/jan41/tmp/myrepos/Foo

cd Foo
svn mkdir 13780

svn commit -m xx

cd 13780
svn mkdir foo
svn mkdir trash

svn commit -m xx

echo "foo" > text.txt
svn add text.txt

svn commit -m xx text.txt

svn propset name "name" text.txt

svn copy text.txt foo -m xx

svn commit foo -m xx

echo "propget original: "
svn propget name text.txt

echo "propget copy: "
svn propget name foo/text.txt

svn move --force foo/text.txt trash/text.txt

svn commit foo -m xx
svn commit trash -m xx

svn copy text.txt foo -m xx

svn commit foo -m xx

echo "propget original: "
svn propget name text.txt

echo "propget copy: "
svn propget name foo/text.txt

...

Bye Jan

-- 
__________________________________________________________________
Jan Reichmann                      Email:    jan.reichmann@skyrix.com
SKYRIX Software AG                 Tel:      +49-391-6623-0
Universitaetsplatz 12              Fax:      +49-391-6623-599
39104 Magdeburg, Germany           Internet: http://www.skyrix.com
__________________________________________________________________
SKYRiX Groupware. We organize teams !
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 20 00:08:21 2002

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