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

Re: Feature Request: Default checkout directory under parent

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2006-10-19 18:47:13 CEST

Thomas Harold wrote:
> Is there an option somewhere that makes the TortoiseSVN checkout command
> in the repository browser default the checkout folder to be under the
> already created parent folder? Basically, if my parent folder points at:
>
> svn+ssh://thomas@svn.example.com/var/svn/repos/
>
> and I've check this out to C:\Repos
>
> I'm in the repository browser, now looking at:
>
> svn+ssh://thomas@svn.example.com/var/svn/repos/client/jobnr/docs/
>
> When I click on Checkout in the repository browser, I would like the
> default checkout directory to be:
>
> C:\Repos\client\jobnr\docs\
>
> Otherwise, I have to manually create the client folder, then the jobnr
> folder, then the docs folder. At least, I don't think there's a way to
> make that magic happen automatically (I'm working with less technical
> users who simply know that they want to checkout a particular job's doc
> folder, not download entire trees over the T1 line).

Hmm... I can see that this is not quite as simple as I thought the first
time. Well, maybe not...

When I right-click on a folder and bring up the Repository Browser, it
is picking up where I am in the repository tree based on the folder that
I right-clicked on. So it does at least have that piece of information
where it can then calculate what the checkout folder would be for a
project that is deeper in the tree.

For example, if I have the root folder of my working copy as:

C:\Jobs\

Which points at: svn+ssh://thomas@svn.example.com/var/svn/repos-jobs/

I then create a folder structure in the repository like:

C:\Jobs\A\AcmeWidgets\AW903
C:\Jobs\A\AcmeWidgets\AW940
C:\Jobs\B\BrunosPipes\BP273

Now I want to get the BZ300 from the repository. The fastest way for me
to do this is to right-click on the C:\Jobs\B folder and go to the
Repository Browser. That then pulls things up as:

svn+ssh://thomas@svn.example.com/var/svn/repos-jobs/B/

I then browse down to:

svn+ssh://thomas@svn.example.com/var/svn/repos-jobs/B/BlueZoo/BZ300

And right-click to checkout the BZ300 project files. The Repository
Browser would then need to be smart enough to set the default
checkout/working folder as:

C:\Jobs\B\BlueZoo\BZ300

Right now, the checkout directory field in the Checkout/Export dialogs
default to an empty box.

The advantage to an addition like this is so that you can quickly get a
deep portion of the tree without either manually creating all of the
intervening folders, or checking out large portions of a project tree.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Oct 19 18:47:33 2006

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