You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David James <dj...@collab.net> on 2006/07/12 22:51:16 UTC

[BUG] Running svn switch on a nonrecursive checkout breaks your working copy

Hi,

I've found a few bugs with 'checkout -N'. Please see below for a
reproduction recipe.

Steps:
1. Checkout a directory using 'svn co -N'
2. Use 'svn switch' to switch from this directory to a different
directory with identical contents.
3. Run 'svn up' on the directory.

Expected results:
  'svn up' will update the directory and restore its full contents.

Actual results:
  'svn up' does not restore the full contents of the directory.

Reproduction recipe:
   Shell script attached.

Tested with svn 1.2.3 and trunk SVN. Both versions of SVN fail this test.

Cheers,

David
-- 
David James -- http://www.cs.toronto.edu/~james

Re: [BUG] Running svn switch on a nonrecursive checkout breaks your working copy

Posted by Daniel Rall <dl...@collab.net>.
On Sat, 29 Jul 2006, Julian Foad wrote:

> David James wrote:
> >I've found a few bugs with 'checkout -N'. Please see below for a
> >reproduction recipe.
> 
> Thanks James.  Do you fancy turning this script into a regression test in 
> the Python test suite?  That would be most useful.

Did anything ever happen with this recipe?  We should *at least* file
an issue...

Re: [BUG] Running svn switch on a nonrecursive checkout breaks your working copy

Posted by Julian Foad <ju...@btopenworld.com>.
David James wrote:
> I've found a few bugs with 'checkout -N'. Please see below for a
> reproduction recipe.

Thanks James.  Do you fancy turning this script into a regression test in the 
Python test suite?  That would be most useful.

- Julian

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