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

Re: WC / Repo Browser + Sparse Directories

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-07-08 23:29:55 CEST

On 08/07/07, Adam Sutton <dev@adamsutton.co.uk> wrote:
> Hi,
>
> I'm interested in how TortoiseSVN is going to interact with the new
> sparse directories feature in 1.5?
>
> I have seen a couple of posts on the topic, but nothing definitive.
>
> What I am really after is something akin to the way VSS handle the
> problem. Before you go on I am no VSS supporter, its just that I have
> recently managed to convert the project I am working on from using VSS
> to subversion. There is some interest from within the company as a whole
> to switch to subversion if our little "expirement" goes well. However
> there have been a few concerns expressed over some of the features
> people regularly use in VSS that aren't currently available in SVN.
>
> The main one I am coming up against at the moment is the way VSS allows
> you to "checkout" a file and it will build the required directory
> structure to that file as the client requires a Working Directory is
> specified.
>
> This currently isn't possible in SVN, however the sparse directory
> support appears to go someway to resolving this. Unfortunately its a bit
> too involved for some of our users, most of whom are not software devs
> (and even some that are may struggle).
>
> What I think would be really nice would be if TortoiseSVN implemented a
> Working Copy Browser (I think this,
> http://thread.gmane.org/gmane.comp.version-control.subversion.tortoisesvn.devel/28575,
> article is talking about something similar).
>
> I think it would be nice if you could select "WC Browser" from within a
> working copy and what you were presented with was a feature very similar
> to Repo Browser, except the entry in the top selection bar would be a
> local (working copy) folder. And the browser would display this folder
> in the browser and everything below it. Users could then navigate
> through the structure and select the directory / file they wish to
> retrieve. TortoiseSVN would then make use of the sparse directory
> support to get out all the required subdirectories.
>
> I've not played with the sparse directories stuff yet, was my task for
> later today, so not sure if this would mean that if a users select a
> file they want they have to get ALL files in the directory?
>
> Any ideas would be welcome,

Subversion cannot check out at file level, sparse directories or no.
The sparse directory feature gives you 4 options when you checkout or
update a folder. Read about it in the manual after you download a
nightly build, or (slightly outdated, and wrong screenshot) at
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-checkout.html

There is no need for a WC browser. The repo browser shows you the
structure, and you can use different checkout levels to get just the
directories you want.

Of course, if you want just one subtree, you can checkout that subtree
alone. That has always been a feature.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 9 00:55:53 2007

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

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