Author Topic: svn server version  (Read 6592 times)

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
svn server version
« on: November 15, 2011, 12:46:58 pm »
I checked out latest 10.04 branch and downloaded 9.6Gig of data. This must give the server some hammering each time someone does a complete new checkout. I looked at reducing what to checkout, "extra" looked like a good canditate at a hefty 5.1G.
I know I could just do src but I had a look at the sparse checkout feature in >1.5 svn.
The following set of commands looked like they should work:
Code: [Select]
$ svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/ linuxmce --depth immediates
$ svn up --set-depth exclude linuxmce/extra
$ svn up --set-depth infinity linuxmce/*
But the first command looked like it was taking as long as before and no traffic saving!
Turns out if the svn server doesn't know about these new features the filtering is done on the client side, so all the data is transferred and then ignored.

I know there is never a good time to update an svn server but would it be worth considering? Download traffic being the big saving.

-Coley.


Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: svn server version
« Reply #1 on: November 15, 2011, 03:37:11 pm »
sparse checkout is a function of the client, according to the release notes of Subversion 1.5 <http://subversion.apache.org/docs/release-notes/1.5.html>

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: svn server version
« Reply #2 on: November 15, 2011, 03:55:05 pm »
http://subversion.apache.org/docs/release-notes/1.5.html#sparse-checkouts

Yes and no, when the server doesn't understand the depth it ignores it and sends down everything letting the client do the discards.
When the server understands it, i.e. in versions >1.5, it doesn't send down data the client has asked to ignore.

-Coley.

merkur2k

  • Addicted
  • *
  • Posts: 513
    • View Profile
Re: svn server version
« Reply #3 on: November 15, 2011, 04:13:13 pm »
there is rarely a need to download anything other than /src or /web unless setting up a full builder, so not that many people grab the whole thing anyway

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: svn server version
« Reply #4 on: November 15, 2011, 04:23:17 pm »
there is rarely a need to download anything other than /src or /web unless setting up a full builder, so not that many people grab the whole thing anyway

Indeed, this is true.
-C.

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: svn server version
« Reply #5 on: December 30, 2011, 05:54:19 pm »
there is rarely a need to download anything other than /src or /web unless setting up a full builder, so not that many people grab the whole thing anyway
Unless there a moron like me  ;D