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

Re: Help explain peg revisions

From: <kfogel_at_collab.net>
Date: 2006-03-16 20:09:39 CET

Scott Palmer <scott.palmer@2connected.org> writes:
> No. Actually Mr. Heppenstall is correct.
> I did the experiment. (Actually a slightly modified experiment using
> 'cat' instead of 'checkout')
> svn cat url-to-foo@5
> outputs the contents of 'foo' as it existed in revision 5, even
> though the head revision is different.
> Sadly there seems to be a bug because if foo is renamed to bar in the
> head revsion
> svn cat -rHEAD url-to-foo@5
> FAILS! the Error message is
> svn: File not found: revision 10, path '/path/to/foo'
> Where 10 is the revision of HEAD.
> This is NOT what I expected. I', using Subversion 1.3.0 on Windows XP.
> Peg revisions are broken it seems. At least for the 'svn cat' command.

If the url-to-foo was renamed to url-to-bar sometime before r10 (i.e.,
before HEAD), then this is indeed an error. Have you verified that
this bug exists in latest trunk SVN?

Of course, if url-to-foo had simply been deleted entirely before r10,
then the error would be expected. But that's apparently not the case.
It would help a great deal if you could post the reproduction script
you're using.

Thank you,

www.collab.net  <>  CollabNet  |  Distributed Development On Demand
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 16 22:00:19 2006

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