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

RE: Is it possible to do a "partial" or a filtered checkout

From: Bill Arnette <billa_at_signalscape.com>
Date: 2005-07-11 18:29:23 CEST

> -----Original Message-----
> From: Carsten Koch [mailto:Carsten.Koch@icem.com]
> Sent: Monday, July 11, 2005 11:46 AM
> To: users@subversion.tigris.org
> Subject: Re: Is it possible to do a "partial" or a filtered checkout
> Bill Arnette wrote:
> >>So, currently your only choice is to check out everything and
> >>manually remove all the files you do not currently need.
> ...
> > Except that when you do that, 'svn status' shows a !
> (missing) For all the
> > files which you manually deleted after the checkout. And
> when you commit
> > the directory, those files will be deleted from the repository.
> Not true.
> Files will only be deleted from the repository if you do an explicit
> svn delete
> Carsten.

Ack. You're right. But I did get this:


>svn co file::///c:/svn/Repositories/Test/trunk SVNTest
svn: Error resolving case of 'file::\c:\svn\Repositories\Test\trunk'

>svn co file:///c:/svn/Repositories/Test/trunk SVNTest
A SVNTest\dir1
A SVNTest\dir1\file4.txt
A SVNTest\dir1\file5.txt
A SVNTest\file2.txt
A SVNTest\dir2
A SVNTest\file3.txt
A SVNTest\file1.txt
Checked out revision 2.

>cd SVNTest

 Volume in drive C is Local Disk
 Volume Serial Number is 84B2-FD5F

 Directory of C:\Temp\SVNTest

07/11/2005 12:23 PM <DIR> .
07/11/2005 12:23 PM <DIR> ..
07/11/2005 12:23 PM <DIR> dir1
07/11/2005 12:23 PM <DIR> dir2
07/11/2005 12:23 PM 4 file1.txt
07/11/2005 12:23 PM 4 file2.txt
07/11/2005 12:23 PM 4 file3.txt
               3 File(s) 12 bytes
               4 Dir(s) 688,639,488 bytes free

>del file2.txt

>rmdir /s /q dir2

>svn status
! file2.txt
! dir2

>svn commit
svn: Commit failed (details follow):
svn: Working copy 'C:\Temp\SVNTest\dir2' is missing or not locked


So I can't just checkout the whole project and delete sub-projects which I
don't need without problems.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 11 18:34:21 2005

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.