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

Switch breaks working copy bug?

From: Bill Soudan <bill_at_soudan.net>
Date: 2004-05-28 00:56:17 CEST

'svn switch' seems to break your working copy under the following
circumstances:

1) you have a file exclusive to a branch in your current working copy,
let's call it file3
2) this file lives a few directory levels below root
3) you modify this file, leaving local modifications
4) you switch to a branch that does not contain this file.

At this point, svn switch reports "svn: Won't delete locally modified
file 'file3'", as expected, but then:

5) you switch back to the original branch

svn will report a "svn: File not found: revision '5', path
'/trunk/longer'".

I've attached a script that you can use to reproduce. #2 above is key
-- if the file is in the root or only one level below root, the
operation works as expected.

Should I file an issue?

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri May 28 01:56:39 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.