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

[BUG] file scheduled for deletion is restored by update (1.5.x)

From: Alexander Kitaev <Alexander.Kitaev_at_svnkit.com>
Date: Wed, 02 Jul 2008 16:14:59 +0200

Hello,

Please find script that reproduces the problem attached.

-- 
Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

#!/bin/sh

# The next line is the only line you should need to adjust.
SVNDIR=/home/builder/usr/svn/bin/

SVN=${SVNDIR}/svn
SVNSERVE=${SVNDIR}/svnserve
SVNADMIN=${SVNDIR}/svnadmin

URL=file:///`pwd`/repos

rm -rf repos wc import-me

${SVNADMIN} create repos

echo "### Making a Greek Tree for import..."
mkdir import-me
mkdir import-me/dir
echo "This is the file 'file.txt'." > import-me/dir/file.txt

(cd import-me; ${SVN} import -q -m "Initial import." ${URL})

${SVN} co ${URL} wc
echo "This is the file 'file.txt'. File is modified." > wc/dir/file.txt
${SVN} ci wc -m "file modification"
${SVN} up -r1 wc

${SVN} del wc/dir/file.txt
echo "### Directory should be empty:"
ls -l wc/dir
echo "### end of directory listing"

${SVN} up -r2 wc

echo "### Directory should be empty:"
ls -l wc/dir
echo "### end of directory listing"

echo "### Status output:"
${SVN} st -v wc
echo "### end of status output"

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-02 16:16:37 CEST

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.