<br><br><div class="gmail_quote">On Thu, May 6, 2010 at 3:52 PM, Andersen Max <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

(redirecting to the right list )<br>
<font color="#888888"><br>
-max<br>
</font><div><div></div><div class="h5"><br>
On May 6, 2010, at 10:13, Andersen Max wrote:<br>
<br>
&gt;<br>
&gt; On May 5, 2010, at 10:26, Yahor Radtsevich wrote:<br>
&gt;<br>
&gt;&gt; Hi Max,<br>
&gt;&gt;<br>
&gt;&gt; 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:<br>
&gt;&gt; svn update -r21899 (from r21862, 2 days old): 7m9s<br>
&gt;&gt; svn update -r21862 (from r21485, 3 weeks old): 1h12m<br>
&gt;&gt; svn update -r21888 (from r20458, 2.5 months old): 2h57m<br>
&gt;&gt;<br>
&gt;<br>
&gt; How often do you do such operations  ?<br></div></div></blockquote><div>I do them to get fresh updates, to commit to both brunches, and sometimes to find the version in which a bug is introduced. Last month, because of xulrunner and docs in trunk, my updates took ~8 hours.<br>

</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5"><br>
&gt; Those times doesn&#39;t sound like something excluding documentation will fix, nor<br>
&gt; do they look extremely slow for a large codebase ?<br></div></div></blockquote><div>By deleting all docs from trunk and moving xulrunner to a different directory, the time of 21485 to 21862 updating has reduced to 0h29m (better than 2x improvement).<br>

</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
&gt;<br>
&gt;&gt; Under Linux short updates take 1-2min, and there is no difference for long ones.<br>
&gt;<br>
&gt; So the problem is windows ?<br></div></div></blockquote><div>I mean that long updates take approximately the same time on both systems. Thus no, windows is not the problem.<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div class="h5">
&gt;<br>
&gt; /max<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 4, 2010 at 1:38 PM, Andersen Max &lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt; wrote:<br>
&gt;&gt; Thanks for the tip...but How loong are those updates ?<br>
&gt;&gt;<br>
&gt;&gt; doing an svn update for me takes less than 1 minute, sometimes 1.5 minute.<br>
&gt;&gt;<br>
&gt;&gt; Rob (who is in China) just did it in 90 seconds from a coffee shop.<br>
&gt;&gt;<br>
&gt;&gt; What is the time for you ?<br>
&gt;&gt;<br>
&gt;&gt; /max<br>
&gt;&gt;<br>
&gt;&gt; On May 4, 2010, at 11:01, Yahor Radtsevich wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi All,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 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 &#39;Sparse Directories&#39;.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; For example, to delete directory &#39;documentation&#39; from your local copy of trunk permanently, use the following command:<br>
&gt;&gt;&gt; svn update --set-depth empty documentation<br>
&gt;&gt;&gt; After this command, the documentation directory will be skipped during further updates and switches. (To restore it back, use --set-depth infinity).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 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):<br>
&gt;&gt;&gt; @echo DELETING OF documentation...<br>
&gt;&gt;&gt; svn update --set-depth empty documentation<br>
&gt;&gt;&gt; @echo DELETING OF *\docs:<br>
&gt;&gt;&gt; @FOR /f %%d IN (&#39;dir /b /a:d&#39;) DO (<br>
&gt;&gt;&gt; @IF EXIST %%d\docs\.svn (<br>
&gt;&gt;&gt;  @echo DELETING OF %%d\docs...<br>
&gt;&gt;&gt;  svn update --set-depth empty %%d\docs<br>
&gt;&gt;&gt; )<br>
&gt;&gt;&gt; )<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best Regards,<br>
&gt;&gt;&gt; Yahor Radtsevich<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; jbosstools-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a><br>
&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>