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

Re: Download only certain files on repository

From: Volnei <volnei_at_gmail.com>
Date: Sat, 2 Aug 2008 11:18:59 -0700 (PDT)

Hi, Stefan

I was thinking in how could TortoiseSVN help users to do this kind of
sparse checkout in complex repository structures (where checkout
individual directories can be exhausting). For instance, in structures
where there are hundred of branches/tags but where you are interested
just in few ones. In fact, it’s just an idea in how could TortoiseSVN
help users to define the repository sparsity automatically to every
new checkout. See if this would work:

Tortoise could look at a new tsvn property valid only to directories.
For instance “tsvn:default-depth”, with possible values “empty”,
“files”, “immediates” and “infinity”. If a checkout is requested in a
higher level than the directory where the property was defined (for
instance, in the repository root) TortoiseSVN will behave as if the
user had used “--depth=” directly just for this directory. If the
checkout is done in the same level of the directory, TortoiseSVN will
behave as the user choose in the “Check-out” window.

Best regards,
Volnei

On 16 jul, 13:09, Stefan Küng <tortoise..._at_gmail.com> wrote:
> Grigolon wrote:
> > Hi all. I need some help!
>
> > Here in my company we use SVN to control our web source files, such as
> > PSD, FLA, TTF, etc.
> > Today we have about 12Gb of content in this repository. Daily we
> > receive change requests from our clients and we have a lot of people
> > working on those issues. Here is my problem:
>
> > When a new guy comes into this project, he needs to download only
> > certain files placed on this repository to complete an issue, and not
> > all files (12Gb requires a lot of time to download and a lot of Hd
> > space!). How can he download only those files and not the entire
> > repository?
>
> > For example: I have the following folder structure on my repository:
>
> > - /project/
> > -- /brand1/
> > --- /website1/
> > --- /website2/
> > -- /brand2/
> > --- /website1/
> > -- /brand3/
> > ...
>
> > He needs to work on this file: /project/brand2/website1/images/layout/
> > logo.gif
> > How can he download only this file, and Tortoise create the entire
> > folder structure? And having only in his computer:
>
> > - /project/
> > -- /brand2/
> > --- /website1/
> > ---- /images/
> > ----- /layout/
> > ------ /logo.gif
>
> > Everyone need to have the /project/ repository in a specific folder.
>
> > Is it possible?
>
> Not with the file alone, but the folder it contains:
>
> * checkout /project, set the depth combobox to "Only this item".
> * right-click on the checked-out folder, choose "repository browser".
> * browse to the /project/brand2/website1/images/layout folder
> * right-click on that folder, choose "update".
> now the folder /layout is updated with all the intermediate folders, but
> *only* that folder is actually checked out.
>
> Stefan
>
> --
>         ___
>    oo  // \\      "De Chelonian Mobile"
>   (_,\/ \_/ \     TortoiseSVN
>     \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>     /_/   \_\    http://tortoisesvn.net
>
>  signature.asc
> 1KDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-02 20:37:12 CEST

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