[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

new feature request: maxfilesize

From: <marcos_at_fairluck.org>
Date: Wed, 30 Jun 2010 19:07:39 +0200 (CEST)

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
Received on 2010-06-30 19:11:47 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.