you should use 'svn update --set-depth exclude <directory>' rather
than 'svn delete'.  the former simply prunes your working view, the
latter actually makes a local change to remove those directories.

greg

>>>>> On September 12, 2013 JJZolx  
>>>>> <[email protected]> wrote:

> Thanks for bringing to our attention.
> With TortoiseSVN on Windows, doing an svn checkout from the command-line
> throws an error, but the GUI svn checkout from the Windows Explorer
> context menu worked.

> For deleting unneeded files in the Bin and CPAN\arch directories, make
> sure you do it through svn (svn delete), otherwise these files and
> directories will be downloaded again when you do and svn update. Here's
> a batch file for Windows to do this. Change the server directory as
> needed.

> Code:
> --------------------

>   @echo off
>   setlocal
>   set serverdir=C:\Program Files (x86)\Logitech Media Server 7.8\server
>   for /d %%d in ("%serverdir%\Bin\*") do (
>   if not "%%~nxd"=="MSWin32-x86-multi-thread" (
>   svn delete "%%d"
>   )
>   )
>   for /d %%d in ("%serverdir%\CPAN\arch\*") do (
>   if not "%%~nxd"=="5.14" (
>   svn delete "%%d"
>   )
>   )
>   for /d %%d in ("%serverdir%\CPAN\arch\5.14\*") do (
>   if not "%%~nxd"=="MSWin32-x86-multi-thread" (
>   svn delete "%%d"
>   )
>   )

> --------------------

> After purging Bin and CPAN\arch, my checkout is 417 MB. The
> .svn\pristine directory accounts for 351 MB of this. Does anyone know if
> this directory is necessary for doing future svn updates?

> ------------------------------------------------------------------------
> JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
> View this thread: http://forums.slimdevices.com/showthread.php?t=99667

> _______________________________________________
> beta mailing list
> [email protected]
> http://lists.slimdevices.com/mailman/listinfo/beta
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to