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

Re: Removed dir in repos with local modifications result in strange behavior.

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-03-08 21:03:01 CET

Josef Wolf <jw@raven.inka.de> writes:

> On Sun, Mar 07, 2004 at 10:57:46PM +0000, Philip Martin wrote:
>
>> >> That's a different error, it doesn't mention a file. I think you have
>> >> an unversioned file or directory somewhere under server/config.
>> > If there is an unversioned file, I'd expect "svn st" to mention it?
>> server/config is unversioned, status won't look inside it.
>>
>> >> It is true, you ran "svn up" after the revert and it deleted
>> >> server/config and made it unversioned.
>> > If this were true, server/config should have been removed...
>> No, because it contains an unversioned item.
>
> This is inconsistent.

The basic principle is that update will only remove items from the
disk if they can be retrieved from the repository. This means that if
you have a versioned directory that contains an unversioned item, then
update will not be able to remove that directory from the disk. It
will make the versioned directory unversioned, which deletes it from
the version control and will leave it on the disk. The only problem I
see is that the update aborts with a "left unversioned" error, I think
it would be better to warn and continue the update.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 8 21:03:25 2004

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.