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

Re: Revision keywords and arithmetics

From: Anthony Shipman <A.Shipman_at_vorticeresearchgroup.com>
Date: 2006-02-01 06:43:34 CET

On Wednesday 01 February 2006 03:26, Scott Palmer wrote:
>
> I use PREV and COMMITTED all the time to see what the "last change"
> was to a particular file.
>
> svn diff -rPREV:COMMITTED myfile
>
> I do this when I see that an update has pulled in changes to a file
> that I "own" or recently changed, just to see what my fellow
> developers might have done with my recent changes. They may have
> caught a mistake I made, or they might have made some other change
> that I should be aware of.
>

If three of those have crept in while you were getting around to it you could
write

svn diff -rCOMMITTED-3:COMMITTED myfile

-- 
Anthony Shipman                     | Mamas don't let your babies
A.Shipman@vorticeresearchgroup.com  | grow up to be outsourced.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 1 06:46:32 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.