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

RE: Re: Export folder dialog

From: Gerald Britton <gerald.britton_at_gmail.com>
Date: Thu, 8 Dec 2011 06:34:25 -0800 (PST)

> >> Interesting!  So, no export action and no error message  when clicking OK
> >> in this case?
> >
> >
> > No. I think an error message would be good - I'll change that.
> Opened issue #159 for this:
> http://code.google.com/p/tortoisesvn/issues/detail?id=159


While you're at it...(This is becoming more of a feature request :) ).

From the command line, I can do this:

C:\Documents and Settings\bri7744\My Documents\CLOC_Remedy_RCIP>svn export 7087
A Z:\bar\usp_or_crs_reports_7087_CSM_Summary_Select_CSM.sql


So, I can specify a relative directory OK (Win XP)

Of course, this works too:

C:\Documents and Settings\bri7744\My Documents\CLOC_Remedy_RCIP>svn export 7087
A Z:\baz\usp_or_crs_reports_7087_CSM_Summary_Select_CSM.sql


If I try it again:

C:\Documents and Settings\bri7744\My Documents\CLOC_Remedy_RCIP>svn export 7087
svn: E720183: Destination directory exists, and will not be overwritten unless f
svn: E720183: Can't create directory 'Z:\baz': Cannot create a file when that file already exists.

which makes sense of course, though I *can* do this:

C:\Documents and Settings\bri7744\My Documents\CLOC_Remedy_RCIP>svn --force expo
rt 7087 z:\baz
A Z:\baz\usp_or_crs_reports_7087_CSM_Summary_Select_CSM.sql

to make it do it anyway.

So, my request would be: Make the export dialog behave more like the cli command. That would mean:

1. Allow the user to navigate to the target directory _or_ type it in manually
2. Create the target directory automatically, if it does not exist.
3. By default, do not overwrite the contents if the target is not empty, but...
4. Have a non-sticky option equivalent to the --force cli option to allow the target to be overwritten

Perhaps you can use a dialog that looks a bit like the checkout dialog, where you can either type in a target directory or navigate to it, with a non-sticky check-box for the --force option.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-08 15:34:31 CET

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