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

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

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 02 Jul 2008 17:31:12 +0100

On Wed, 2008-07-02 at 16:14 +0200, Alexander Kitaev wrote:
> Please find script that reproduces the problem attached.

Tried with 1.5.0 and with 1.4.x branch. Both exhibit this behaviour.

I agree it's a bug.

- Julian

> #!/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

---------------------------------------------------------------------
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 18:31:40 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.