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

Re: TortoiseSVN 1.5.0-alpha1 released

From: Stefan Kng <tortoisesvn_at_gmail.com>
Date: Mon, 03 Mar 2008 17:47:13 +0100

Thomas Harold wrote:

[snip]
> - "svn up" can be scheduled to run at 3am and will update everything,
> which means less confusion about whether or not what is on the local
> working copy is up to date or not. It also allows people to look at
> another project's files immediately without having to wait on transfers.
> And if they do need to update a project mid-day, the odds are high that
> the transfer size will be minimal.

What happens if there is a conflict in the automatic update?

[snip]
> 1) We create the C:\Our\Work folder and checkout the /our-work
> repository to it. But we tell TSVN/SVN to only pull down the root
> folder, perhaps with a depth of immediates.
>
> 2) The user then right-clicks on C:\Our\Work and goes to the repository
> browser because they want to fetch a project. Ideally, the TSVN
> repository browser would remember that C:\Our\Work was the starting
> point for this browse session.
>
> 3) The user drills down in the repository browser to
> /our-work/A/clientA/jobXYZ and tells TSVN to fetch that folder and all
> sub-folders.
>
> 4) The default path for this operation would ideally be (but the user
> could override it if they wanted):
>
> C:\Our\Work\A\clientA\jobXYZ

No, that path can't be overridden. Sparse directories doesn't mean that
you can arrange your working copy as you like. The paths still match the
ones in the repository. Sparse directories only means that some
directories can be missing in your working copy.

> 5) So TSVN would pull the content down, creating all the intervening
> folders with the appropriate "depth=" flag. So that doing an "svn up"
> from C:\Our\Work would still work correctly.
>
> The hard part is #5. Walking from the root of the browse session down
> to the folder that was actually wanted. Figuring out which depth flags
> to set on the way down so that there is still only a single working copy
> under C:\Our\Work.

svn up will work as you expect, if you've set the depth correctly.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-03 17:47:38 CET

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