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

RE: creating history file and zip files

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2005-10-27 17:18:36 CEST

Sascha Herpers wrote:
> Hi,
>
> I might have missed it in the docs, but there are two function I would
> like to have.
>
> 1) Is there a way to automatically generate a history file of the log
> entries between two taged versions of a project?
> 2) Can I retrieve a zip file of all files that changed between two
> specific versions? If it can't be done as zip file I could
> alternatively live with copying the changed files to a temp folder
> and then zip it myself.
>
> The background for this is, that when I want to distribute a new
> version (or revision) I don't want to zip and email the complete
> project. I
> would like to be able to only send whatever has changed since the last
> mailed version. I also want to include a change log of all the changes
> since the last mail.
>
> Can I do that?
> Thanks,
> Sascha

Since 'tags' are just copied directories/files, rather than specific
revision numbers, I think what you need to do is find out what revision
created the previous tag (using --stop-on-copy helps), and then do an
svn log between that revision and the revision creating the new tag (or
HEAD). This'll give you the first item you asked for. For the second,
svn diff <tag1> <tag2> and a bit of shell magic should get you what you
need (filter the diff output and send the result to your zip program).

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 27 17:23:19 2005

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.