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

Re: checking out a branch - is similarly named target folder created automatically?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-04-26 23:47:26 CEST

On 25/04/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Simon Large wrote:
>
> > This is already implemented in the nightly build, although slightly
> > differently from the command line tool.
> >
> > In the settings dialog there is a default checkout path and default URL.
> > You would set the default path to c:\software and the default URL to
> > svn://server/repos/ On subsequent checkouts, TSVN then generates the
> > appropriate subdirs.
> >
> > But it only allows you to link one repository to one folder structure.
> >
> > Maybe we should extend this functionality a bit, so if the folder you
> > are checking out into also occurs as a directory name within the URL,
> > create any intervening subdirs automatically. This would need a checkbox
> > in the checkout dialog, because it is not necessarily the right
> > behaviour all the time.
>
> If you right-click on a folder for checkout, you then enter an URL, TSVN
> tries to 'guess' the foldername for the checkout from the URL (at least
> in the nightly builds).

I don't think so. I just installed last nights and tried it.
1. Create C:\temp\doc
2. Right click and SVN checkout
3. Browse to http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/doc/source/dtd/docbook41
in repobrowser.
4. Checkout path remains unchanged at C:\temp\doc. I had hoped that it
would auto-complete to C:\temp\doc\source\dtd\docbook41

Note that I have my default checkout path and URL set to something else.

The proposal is that TSVN would recognise 'source' in the original
folder name, search for it in the URL, then append the URL tail to the
checkout path. I think there should be an 'auto-complete' button to
trigger that action on demand, because only the user knows whether
they want that action, or indeed if there is any correlation between
URL and path.

BUT. I'm not sure how this should interact with sparse directories.
Should we create a sparse working copy, with just the request tree
populated, or should we create an unversioned tree with just the
requested sub-tree versioned at the bottom?

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Apr 26 23:47:33 2007

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

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