[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: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2006-01-31 17:26:40 CET

On 31-Jan-06, at 9:50 AM, Martin J. Stumpf wrote:
>>
> I don't even understand when COMMITTED AND PREV would be used.
> Could you give an example where they would be helpful or relevant?
> HEAD and BASE I have used. I have always thought I must be missing
> something since I have never needed to use the others.

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.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 31 17:32: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.