(redirecting to the right list )
-max
On May 6, 2010, at 10:13, Andersen Max wrote:
On May 5, 2010, at 10:26, Yahor Radtsevich wrote:
> Hi Max,
>
> Regular svn updates (with short delta) are acceptable fast (5-10min under Windows),
but in the cases when an old version is needed or to do svn switch, the updates are much
longer:
> svn update -r21899 (from r21862, 2 days old): 7m9s
> svn update -r21862 (from r21485, 3 weeks old): 1h12m
> svn update -r21888 (from r20458, 2.5 months old): 2h57m
>
How often do you do such operations ?
Those times doesn't sound like something excluding documentation will fix, nor
do they look extremely slow for a large codebase ?
> Under Linux short updates take 1-2min, and there is no difference for long ones.
So the problem is windows ?
/max
>
>
> On Tue, May 4, 2010 at 1:38 PM, Andersen Max <max.andersen(a)redhat.com> wrote:
> Thanks for the tip...but How loong are those updates ?
>
> doing an svn update for me takes less than 1 minute, sometimes 1.5 minute.
>
> Rob (who is in China) just did it in 90 seconds from a coffee shop.
>
> What is the time for you ?
>
> /max
>
> On May 4, 2010, at 11:01, Yahor Radtsevich wrote:
>
>> Hi All,
>>
>> If you, like me, are annoyed by looooong time of trunk updates, there is a SVN
feature to skip directories you do not use. This feature is called 'Sparse
Directories'.
>>
>> For example, to delete directory 'documentation' from your local copy of
trunk permanently, use the following command:
>> svn update --set-depth empty documentation
>> After this command, the documentation directory will be skipped during further
updates and switches. (To restore it back, use --set-depth infinity).
>>
>> Windows users may use the following batch-script to delete all documentation and
*\docs directories at once (just save as deletedocs.bat and run from trunk directory):
>> @echo DELETING OF documentation...
>> svn update --set-depth empty documentation
>> @echo DELETING OF *\docs:
>> @FOR /f %%d IN ('dir /b /a:d') DO (
>> @IF EXIST %%d\docs\.svn (
>> @echo DELETING OF %%d\docs...
>> svn update --set-depth empty %%d\docs
>> )
>> )
>>
>>
>> Best Regards,
>> Yahor Radtsevich
>>
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
>