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

Re: [Issue 1751] svn switch may corrupt working copy

From: Marvin Greenberg <mgreenberg_at_dctd.saic.com>
Date: 2004-03-08 20:38:41 CET

Philip Martin wrote:

> Marvin Greenberg <mgreenberg@dctd.saic.com> writes:
>
>
>>If you look at the case, it specifically says it isn't just "-N".
>
>
> That's odd because I tried the recipe in the issue and I only have a
> problem if I use -N.
>
I was just reading what MAKL said in the case -- "Note: It is irrelevant for the
recipe whether wc2 is checked out recursively or not."

>
>>I have had this happen doing really simple things like a switch from
>>branches/br1 to branches/br2. No -N flag, nothing fancy.
>
>
> Show me.
>

For you to have anything to work with, I'll have to come up with a test case,
but this is what I did to experience the problem, the last time I saw it. Note
  that I tried duplicating this today by specifying the revision and it did not
happen, and no simple case I could come up so far caused any problem. And this
is 0.37, not 1.0.0.

-------------------------------------------------------------------------

bash-2.05b$ svn co http://superclass/svn/FI2010/trunk myWorkingCopy
             < bunch of files are checked out >
U myWorkingCopy
Checked out revision 2102.

bash-2.05b$ cd myWorkingCopy/
bash-2.05b$ svn switch http://superclass/svn/FI2010/branches/4.0.2
             < a variety of files are added, modified, deleted >
Updated to revision 2102.
bash-2.05b$ svn info | head 2
Path: .
URL: http://superclass/svn/FI2010/branches

   URL should be http://superclass/svn/FI2010/branches/4.0.2 !!!

Needless to say, the working copy is now all confused. In fact,
   $ svn info TENA | head -2
Path: Utils
URL: http://superclass/svn/FI2010/branches/4.0.2 [ should have TENA!]
   $ svn info DCT | head -2
Path: DCT
URL: http://superclass/svn/FI2010/trunk/DCT
   $ svn info Utils | head -2
Path: Utils
URL: http://superclass/svn/FI2010/branches/4.0.2 [should have Utils!]

And
   $ svn up
svn: REPORT request failed on '/svn/FI2010/!svn/vcc/default'
svn:
File not found: revision '2102', path '/branches/4.0.2/pub'

Which should be Utils/pub...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 8 20:39:04 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.