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

Re: [PATCH] Issue #1093: make diff follow history

From: Josh Pieper <jjp_at_pobox.com>
Date: 2004-05-13 16:51:33 CEST

Gerco Ballintijn wrote:
> Josh Pieper wrote:
>
> >Ok, after looking at keeping backwards compatibility as much as
> >possible, I have the following help string for 'svn diff':
> >
> >----
> >diff (di): Display the differences between two paths.
> >usage: 1. diff [-r N[:M]] [TARGET[@REV]...]
> >
> > 1. Display the changes made to TARGETs as they are seen in REV between
> > two revisions. TARGETs may working copy paths or URL[@REV].
> >
> > N defaults to BASE if any TARGET is a working copy path, otherwise it
> > must be specified. M defaults to the current working version if any
> > TARGET is a working copy path, otherwise it defaults to HEAD.
> >
>
> In your description, it looks like you can specify N, M, and REV at the
> same time. Is this intended? And if so, what would that mean?

Yes this is intended. It allows you to find how a certain URL changed
between two revisions when it may have been renamed at different
points in time. The @REV specifies the "peg" revision, or the URL to
start looking from. Then the history of that path is traced to find
the path's contents at revision N and M, from which the diff is
generated.

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 13 16:52:47 2004

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

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