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

RE: Feature request: Export & zip

From: Craig Barber <cbarber_at_ambiocorp.com>
Date: 2007-02-10 04:14:33 CET

Suraj Barkale writes,
> Hi,
> In 99% of *my* use cases of export, the next operation is
> zipping the files (usually for sending to someone with no
> repository access). Is it possible to add export & zip
> functionality to TSVN? Or do I need to ask about this on SVN dev list?
> Thanks & Regards,
> Suraj

How about another way to automate the whole process :)

 * Download and install subversion for windows (you probably already
 * Download and install 7zip: http://www.7-zip.org/
 * Add C:\Program Files\7-zip to your PATH environment variable:
 * In the root of your working copy, create a new file,
email_export.bat, containing this:

svn export . %TEMP%\svn_export
7zG a -tzip -seml. repo.zip %TEMP%\svn_export
rmdir /S /Q %TEMP%\svn_export

The above will export the working copy to a temp directory, zip all of
it, open an empty email and attach the zip, and delete the zip and temp
directory when you're finished. 7-zip comes with a help file that
specifies more command line args if you want to tweak it. Hope this

Craig Barber

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Feb 10 04:15:10 2007

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.