[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: Sven Brueggemann <SBrueggemann_at_gmx.net>
Date: 2005-08-29 23:08:14 CEST

Stefan Küng wrote

>> can somebody please explain the term "peg revision" to me?
> Since peg revisions usually only are used in the CL client (TSVN uses
> them without the user knowing it) I'm wondering why you need to know this?

I saw the term several times here and in the logs and like to
understand the concept to be able to test the changes (and of course to
benefit from them).

> 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.

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?

Kind regards

Sven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Aug 29 23:08:34 2005

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

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