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

Re: Directory delete issue

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-07-20 22:35:57 CEST

I think you've discovered a little itty bitty bug...

* I created a test archive, created two directories in that archive,
then did a commit.
* I deleted the archive, and did a brand new checkout.
* Now, I was at revision 1 of the archive which I verified via the
"svn info" command.
* I then deleted one of the directories, and did a commit which
created a revision 2.
* I did another SVN info command, and Subversion showed that my
working directory was still at revision 1!

If I did "svn copy . file://$REPOS/tags/TEST1.0", I would see the
deleted directory under the TEST1.0 tag. Looking at the "svn log -v"
command, I could see it copied Revision 1 of my directory and not the
latest revision.

HOWEVER, if I did an "svn update" before I did the copy, Subversion
would report that I am at revision 2. Then, if I do an "svn info", I
see that my working directory is revision 2 and not revision 1. And,
if I did the same copy command at that point, it doesn't include the
deleted directory!

So, if you did an "svn update" before you do your copy, you would have
seen the correct results. Also, if you used the URL for the current
directory instead of the ".", you would have seen the correct results.

This looks like a bug to me and is easily reproducible.

On 7/20/05, Eric Fesler <eric@audaxis.com> wrote:
> Hi,
>
> I'm having some trouble with the delete of a directory.
>
> I had in my project a directory named "test".
> It has been committed to the repository and after a while deleted from
> the working copy. The deletion has been committed and the directory does
> not appear anymore in the HEAD and svn status says that everything is in
> line with the repository.
>
> Up to now, everything seems normal !
>
> The issue raises when I'm trying to generate a new tag.
>
> I'm using:
> svn copy . [repository path]/tags/release-X.X
>
> Then, I make a checkout of release-X-X
> using: svn checkout [repository path]/tags/release-X.X [targetDir]
>
> and in the [targetDir], I "test" directory has been recreated with its
> old content!!
>
> What am i doing wrong?
>
> Thanks for the help,
>
> --ERic
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 20 22:38:04 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.