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

Re: possible bug: checkout parent dir fails on subdir if it's wc

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 28 Aug 2008 07:57:21 +0300 (Jerusalem Daylight Time)

Denis Pokataev wrote on Tue, 26 Aug 2008 at 13:02 +0400:
> Summary:
> checkout parent dir fails on subdir if it's working copy already
>
> Steps to reproduce:
> Assuming repo has
> /svn/dir/
> /svn/dir/file1
> /svn/dir/subdir/
> /svn/dir/subdir/file2
>
> mkdir -p dir/subdir
> cd dir/subdir
> svn co http://svn.domain/svn/dir/subdir ./
> A file2
> U .
> Checked out revision 1.
> cd ../
> svn co http://svn.domain/svn/dir ./
> A file
> svn: Failed to add directory 'subdir': a versioned directory of the same
> name already exists
>
> Question:
> Shouldn't it just update 'subdir' as it is working copy already?..
>

'svn checkout --force'? It will "slide" a working copy under the existing
files. (You might have to remove all .svn dirs first for this to work.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-28 06:57:42 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.