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

Re: peg-rev and checkout

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-05-06 12:59:59 CEST

On Sat, May 06, 2006 at 10:42:59AM +0200, Giovanni Bajo wrote:
> I would have expected "svn info -r2 file:///.../dir1_at_1" to answer the question
> "how is dir1 called nowadays", but it doesn't seem to work. CC'ing Sussman as
> he initally introduced svn info URL (with pegrev) support.

I'm not sure that we _can_ trace forward in time at the moment. Without
'proper' rename support, we could potentially encounter any number of
'copied-to' nodes along the path from the earlier to the later revision.

For example, in your example, r2 is:

- delete dir1
- create dir2 as a copy of dir1 at r1.

But you could also have had:

- delete dir1
- create dir2 as a copy of dir1 at r1.
- create dir3 as a copy of dir1 at r1.

Which node should be returned? While we could probably 'guess' the
correct node in many cases, I think a better solution is to wait until
we stop representing renames as copy+delete, because we can trace through
renames with ease.

(Tangentially related: issue 2496, which is about tracing forwards into
'no-change' revisions).


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 6 13:00:36 2006

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