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

Re: functional equivalent to "cvs rdiff -s"?

From: Jeremy Bettis <jeremy_at_deadbeef.com>
Date: 2004-08-17 22:32:19 CEST

I have a script that I think will do what you need. I have attached it.
Given two tags, it prints out all svn log messages between those two tags.
It may need some tweaking for your environment.

----- Original Message -----
From: "Nathan Dauchy" <ndauchy@hpti.com>
To: <users@subversion.tigris.org>
Sent: Tuesday, August 17, 2004 11:18 AM
Subject: Re: functional equivalent to "cvs rdiff -s"?

> Max Bowsher wrote:
> > Nathan Dauchy wrote:
> >
> >>Is there any capability in Subversion like the CVS command "cvs rdiff
> >>-s", which summarizes the difference between two revisions in the
> >>repository, listing all the filenames that have changed?
> >>
> >>I searched the mailing list archive and found that someone asked this
> >>question a while ago, but apparently got no reply:
> >>http://www.contactor.se/~dast/svnusers/archive-2004-03/1372.shtml
> >>
> >>If there isn't already a workaround to do this, can it be considered for
> >>inclusion in the next svn release, since there are at least two of us
> >>who would find it useful? :)
> >
> >
> > The workaround would be to post-process "svn log" output.
> >
>
> Thanks Max, that gets me part way there. To get the list of files that
> would be diffed by:
> $ svn diff -r 2580:HEAD
> I can run:
> $ svn log -v -r 2580:HEAD | grep -E "^ "
>
> However, for a more complex diff, like between two tags:
> $ svn diff -r HEAD:HEAD --old file:///SVN/tags/ver1/foo --new
> file:///SVN/tags/ver2/foo
> then how do I use "svn log", which only supports a single URL?
>
> It looks like for now I will just use something like this:
> $ svn diff -r HEAD:HEAD --old file:///SVN/tags/ver1/foo --new
> file:///SVN/tags/ver2/foo | grep -E "^Index:"
> which isn't terribly efficient and doesn't tell me whether the file was
> added, removed, or modified. But, it should be enough for my immediate
> needs.
>
> > If you'd like to see a new feature, write up a description of how you
would
> > want it to behave (i.e. exactly what level of detail you would expect),
and
> > post here.
> >
>
> I'll try to do that some time soon. In the meantime if anyone else has
> input into this feature, please chime in!
>
> Thanks,
> Nathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Tue Aug 17 22:34:45 2004

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.