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

Re: svn diff cleanup

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-04-16 17:48:38 CEST

Ben Collins-Sussman <sussman@collab.net> writes:
> ------------------------------------------------------------
> diff (di): display the differences between two paths.
> usage: 1. svn diff [-r N[:M]] [PATH1 [PATH2 [PATH3 ...]]]
> 2. svn diff URL1[@N] URL2[@M]
>
> 1. each PATH can be either a working-copy path or URL.
> If no PATHs are specified, a value of '.' is assumed.
>
> + if PATH is a URL, then revisions N and M must be specified via -r.
>
> + if PATH is a working-copy path, then -r switch has these effects:
> -r N:M : server compares revisions N and M of PATH,
> -r N : client compares revision N of PATH against working copy
> (no -r) : client compares base and working copies of PATH
>
> 2. if the alternate syntax is used, the server compares URL1 and URL2
> at revisions N and M respectively. If either N or M are ommitted, a
> value of HEAD is assumed.
> ------------------------------------------------------------

+1

I think the words "if the alternate syntax is used, " can be
eliminated in the usage message, but otherwise, this is a succinct
summary of a fairly complex feature. Nice!

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 16 17:45:07 2002

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