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

Re[2]: [TSVN] Export a clean folder suggestion

From: Fernando P. Nájera Cano <yo_at_FernandoNajera.es>
Date: 2004-07-13 22:23:31 CEST

Hi,

S> The answer on the subversion mailing list usually was: write a
S> small script! Actually, a simple 'copy' command with the right
S> switches will work: the ".svn" folders are hidden, so just copy all
S> files, excluding hidden folders. AFAIK the copy command does not
S> copy hidden files and folders by default, so a copy
S> path/to/workingcopy /path/to/somewhere should work?

I should try that at work - a huge WC to play around. Also, it should
be xcopy as I need recursive copying.

Second: svn people is linux people, and the power of linux bash is not
comparable to Windows cmd.

Anyway, even if that works, the idea is to make it using an UI, not
command line. I really like doing all-or-nothing using mouse, and
mixing mouse with cmd is... uncomfortable.

S> Anyway: if you can tell me how I can implement this in TSVN in a user
S> friendly GUI way I'll do it. But keep in mind that I don't want another
S> command in the context menu for this and that the original behaviour
S> must be available too!

Self-explain: http://www.fernandonajera.com/tsvnextendedexport.jpg

#1: Well, the obvious place (at least, for me) would a checkbox in the
"Browse for folder" dialog that appears when you click on Export. I
don't know if you can add a checkbox here - I think you're using
standard browser-for-folder dialog, and I don't remember if it lets
you do that.

The checkbox could be called "Extended export" or something like that,
and that would be enough. Maybe a configuration option so I could have
that new checkbox marked by default each time I want to export. And
also a command-line version for using this, as it would be very useful
for using in scripts.

#2: If the check box is not an option... well, you don't want another
context menu for this... Maybe if you add a new entry in the config
window like 'I'm interested in extended exports'. If I don't check it,
I will see the usual Export entry. If I have checked it, you could add
an extra entry just after the Export one in the context menus. See
image.

This way, if you don't check that option in config, you won't have any
extra menus. If you want to use it, you'll have them... Everybody's
happy :)

Best regards,

Fernando Najera

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jul 13 23:27:59 2004

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

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