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

Re: BUG in svn switch with A+ files

From: Mycroft Holmes <psion.s5_at_gmail.com>
Date: 2007-02-05 17:11:23 CET

>
>
> This is not a bug. After the copy, the WC still points to the
> original location,

correct

and still has the original modifications.

in general correct, but in this case it has NO local modifications...

You'd
> have to revert, remove unknown files, and then switch.

Yup, but this sounds like a workaround...

I know what you want to achieve: svn should notice that both files
> are "the same". Except, they aren't.

No, they are :)

1) I agree that in general, when svn finds LOCAL modifications, it should
stop.
2) I deduce that "adding a file with history" is somehow considered a "local
modifcation to the working copy", but the error message is at least
misleading.
3) I think 'svn switch' should be added a '--force' option

I'm not sure if in this case a simple "--relocate" would help (maybe
relocate + update?)
Received on Mon Feb 5 17:11:44 2007

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.