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

Export entire changed files for zip patch

From: Scott Pederick <scott_at_solidstrategies.com.au>
Date: 2007-06-27 17:02:10 CEST

Hi,

I've been hunting around on the forums and google for the past couple of
days and haven't got closer to my goal.

I'm working on a number of php projects that I want to generate a zip
that contains the files changed from one version to another. This makes
it easy to apply, especially when you only have ftp access.

So far I've been able to generate a list of the files that have changed:

svn diff -r PREV:HEAD --summarize | sed -e "s/^[AM].*//pi" | sort | uniq
> files.txt

I then loop through the list to export the files from svn to a temporary
location so I can zip it up. I can export the files into one directory
but I'm having trouble re-creating the directory structure to start with.

Before I continue to bang my head against this one, does anyone know of
any pre-existing scripts of the like that solve this problem? I know I'm
not alone in this but I can't find any solutions that help with this
bit. At this point I'm assuming that I'm looking for the wrong thing or
in the wrong direction.

Any help will be most greatly appreciated.

Thanks in advance,

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 27 17:03:15 2007

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

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