Hi Bernd,
a similar report as yours was filed a few weeks ago as issue 2743 (
http://subversion.tigris.org/issues/show_bug.cgi?id=2743 ).
thanks for the report,
Lieven
Bernd Rinn wrote:
> Hi,
>
> when replacing a file in the working copy and then adding a new
> property (all within the same transaction), a property set on the
> original (now replaced) file is still set on the new file. This seems
> to be a bug or at least quite odd behavior.
>
> If, on the other hand, the file is replaced without setting a property
> on the new file, the property of the original file will be gone (which
> is what I would expect in all cases).
>
> My version of subersion is: svn, version 1.4.3 (r23084)
>
> Recipe to reproduce this behavior:
> ----
> #! /bin/sh
>
> DIR=`pwd`/ttt
> if [ -e $DIR ]; then
> echo "$DIR exists"
> exit 1
> fi
> mkdir $DIR
> cd ttt
>
> svnadmin create repos
>
> REPOS_DIR=$DIR/repos
> svn co file://$REPOS_DIR wc
>
> echo "test" > wc/file
> svn add --no-auto-props wc/file
> svn ps "prop1" "true" wc/file
> svn ci -m "" wc
> svn up wc
>
> svn rm wc/file
> echo "test" > wc/file
> svn add --no-auto-props wc/file
> # Uncomment the following line to make prop1 go away
> #svn ci -m "" wc
> svn ps "prop2" "true" wc/file
> svn ci -m "" wc
>
> svn pl wc/file
> # Output is:
> #Properties on 'wc/file':
> # prop1
> # prop2
> # Would expect:
> #Properties on 'wc/file':
> # prop2
>
> cd ..
> rm -fR $DIR
> ----
>
> PS: I have sent this email already yesterday but since it didn't show
> up in the mailing list archive, I assume it got lost and thus resend
> it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 21 11:15:58 2007