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

RE: Tagging Policy Full & Patch Release

From: Lakshman Srilakshmanan <lakshman.srilakshmanan_at_tradingpost.com.au>
Date: 2006-02-23 03:25:21 CET

Hi All,

Thanks to all who replied. Your suggestions helped me to find a solution
similar to what I need.

The Only draw back in the following process is that you need to
check-out the files and copy the files yourself to create a patch. The
alternative is, as Garrett mentioned, to apply a patch.
Pg 30 under svn diff --- Chapter 3 : Section Guided Tour in Version
Control with Subversion For Subversion 1.1 outlines how to create
Patches.

Here is a way of finding a summary of only files that have changed
between two revision.

svn diff --diff-cmd /usr/bin/diff -x --brief URL_of_Release_1_0_0
URL_of_Release_1_0_1

unfortunately the above example is for Linux/Unix but the same style can
be adapted for windows by substituting the -diff-cmd with a window diff
command.

Thanks
Lakshman

-----Original Message-----
From: rooneg@gmail.com [mailto:rooneg@gmail.com] On Behalf Of Garrett
Rooney
Sent: Thursday, 23 February 2006 8:25 AM
To: Lakshman Srilakshmanan
Cc: Steve Williams; users@subversion.tigris.org
Subject: Re: Tagging Policy Full & Patch Release

On 2/21/06, Lakshman Srilakshmanan
<lakshman.srilakshmanan@tradingpost.com.au> wrote:
> Hi Steve,
>
> Thanks for your feedback.
>
> svn diff URL_of_Release_1_0_0 URL_of_Release_1_0_1 -- lists all the
> changes. This could serve as a work around to my requirement.
>
> I was actually hoping
> 1) to have just a list of files that changed between the two
Releases
> 2) extract all files that have changed.
>
> Is either of the above possible ?

In subversion 1.4.x there is a 'svn diff --summarize' command that'll
just tell you what files changed. You could then use svn cat to
extract their contents.

> Finally, even though I can identify the difference, How do I create
> (patch create command) a Patch file and Apply it to Release-1.0.0.

Uhh, just use the patch created by 'svn diff $OLDTAG $NEWTAG'.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 23 03:28:39 2006

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.