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

Re: [TSVN] "peg revision"

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2005-08-30 05:22:34 CEST

Sven Brueggemann wrote:
> Stefan Küng wrote

GOOD_INFO_BEGIN
>>But anyway: a peg revision is like an anchor to where the commands using
>>it refer to. For example, you have an URL http://server/trunk/file_orig
>>at revision 100. But the file has been renamed several times since that
>>revision. Now if you want to say do a diff of that file between revision
>>200 and 300, then you can do a diff like this
>>diff http://server/trunk/file_orig@100 -r200:300
>>with Revision 100 being the anchor.
GOOD_INFO_END

> Thanks for the explanation. Can you give a short overview in which
> cases you use a peg revision? I can't think of a situation where
> I explicitly want to compare Revisions 200:300 of file_orig@100, but I
> guess behind the scenes this is an important concept which makes all
> that cool diff features possible, right?

You can read about peg-revisions here:

   http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 30 05:23:21 2005

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