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

Re: peg revision / svn_client_merge_peg ?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-09-10 17:43:40 CEST

On Fri, 2004-09-10 at 10:33, Martin Hauner wrote:
> Hi,
>
> 1) what exactly is a peg revision?

A "peg object" is the object you're tracing history on. It's made out
of (peg-revision, peg-path) pair -- the way you'd locate any object in
the repository.

For example, if using an svn 1.1 client, the command:

   svn cat -r5 foo.c

...does history tracing, starting with a "peg object" of foo.c@BASE,
then tracing renames back to r5. You would see the contents of the file
in r5, no matter how many renames it went through. In this example, The
peg-revison is BASE.

>
> 2) from an svn client perspective is there any need to support both
> merge methods? Is there another use case to have two source
> paths in svn_client_merge apart from handling renames?

I don't understand... please explain your question in more detail.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 10 17:45:52 2004

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

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