You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ma...@fairluck.org on 2010/06/30 17:07:39 UTC

new feature request: maxfilesize

Hello,
I am a long term subversion user and use it in my everyday work.

Sometimes happens to me that I checkout a local copy of some directory in
the repository from a low speed modem connection, if the directory
contains a huge file the download time can be extremely high. Because I am
not particularly interested in this huge file for me is a waste of both
time and disk space in my local copy laptop.

Generalizing the problem I think the required feature can be depicted as
follows:
the new feature (-maxfilesize=) is the maximum size a file must have in
order to being brought from the server throught the wire.
If a file is greater than such size then a file of several bytes in size
is transmitted instead.
This bridge file has the same name as the real controlled file, with some
lightweight content that is recognizable by subversion.

svn co -maxfilesize=200K $REP/trunk/dir src

maxfilesize must remain sticky in the directories applied.

  svn up -maxfilesize=400K
       or
  svn up -maxfilesize=none
would update the sticky value and replace bridges with full-content files.

This way one could checkout trunk from a heavy repository, and start
editing very quickly.

thank you
regards

--
Marcos Mayorga
FairLuck CO