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

delete dir shows deleted files

From: Martin Furter <mf_at_rola.ch>
Date: 2006-08-18 18:13:30 CEST

Hello

Today I moved some files around and deleted the dir which contained the
files. Deleting the directory showed the deleted files inside again as
deleted. I'd have expected them to not show up again.

Is this a bug ?

Martin

Output of the reproduction recipe (tested with svn trunk r21026):

status before delete dir

D a/file2.txt
D a/file1.txt
A + b/file2.txt

delete dir

D a/file2.txt
D a/file1.txt
D a

Reproduction recipe:
#!/bin/sh

# initialize:
# create repos and wc, then add the following tree:
# a/
# a/file1.txt
# a/file2.txt
# b/
svnadmin create repos
svn co file://$PWD/repos wc
cd wc
svn mkdir a
svn mkdir b
echo "hello" > a/file1.txt
svn add a/file1.txt
echo "hello" > a/file2.txt
svn add a/file2.txt
svn ci -m "initialize"

# do a delete and a move
echo ""
echo "delete and move"
echo ""
svn rm a/file1.txt
svn mv a/file2.txt b

# show status
echo ""
echo "status before delete dir"
echo ""
svn st

# now delete the dir a
echo ""
echo "delete dir"
echo ""
svn rm a

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 18 18:14:33 2006

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.