[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-08-29 22:14:22 CEST

Sven Brueggemann 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?

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. And even if the file is named e.g.
file_renamed in revision 200, file_renamed_again in revision 250 and
file_whatever in revision 300, the anchor makes sure you've got the
right file.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Aug 29 22:17:50 2005

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