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

Re: Export of multiple directories grabs entire repository.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-11-19 18:34:31 CET

Alan Sieving wrote:
> Hi- I love TortoiseSVN. Thanks for making it so easy to use,
> and generally getting it right in lots of places.
> I ran across an odd behavior today. Here are the details:
> I am running TSVN 1.4.5 (Build 10425) on a Windows XP box.
> My repository is on a Windows2003 server.
> I am trying to copy one portion of my files to a website, and
> have mounted the website as my W: drive using WebDrive.
> The files I want to copy are in a directories like so:
>
> C:\mylocaltrunk\Datasheets\directory-a\fn1, fn2, fn3
> C:\mylocaltrunk\Datasheets\directory-b\fn4, fn5, fn6
> C:\mylocaltrunk\Datasheets\directory-c\fn7, fn8, fn9
> C:\mylocaltrunk\Datasheets\directory-d\fn11, fn12, fn13
> C:\mylocaltrunk\Datasheets\directory-e\fn21, fn22, fn23
> If I select directory-a in windows and right-click,
> I can choose Export from the TSVN context menu,
> and export all of directory-a to my webserver.
>
> However, If I select multiple directories in windows
> (e.g. select directory-a, directory-b, etc) and then
> right-click, I seem to get a slightly different context menu;
> if I go ahead and select Export, then I am in a repository
> browser that offers to export my entire repository.
> (and it will attempt to, if I let it go with the default.)
> If I instead drill down to the folders I was interested in,
> It exports only the last of the folders I select.
>
> I'm sure there are good reasons for this behavior, but
> it is very non-obvious to me why it should be happy
> to export one folder, when that is all I have selected, but
> then behave so differently when I have selected multiple folders.
>
> Can you either explain this behavior, or perhaps schedule
> this as a future improvement?

Just right-drag the files to the location where you want to export them.
And choose "SVN Export to here" from the right-drag context menu.

Exporting via right-click and the TSVN menu will pass all your paths to
the Subversion library and make that one do the job - and the SVN
library tends to use the parent path for multiple paths, then go from there.

Stefan

-- 
        ___
   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 Mon Nov 19 18:35:20 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.