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

Re: description of Peg Revision Algorithm is incomplete

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Tue, 30 Mar 2010 11:07:23 +0200

On 2010-03-29 17:07:36 +0100, Julian Foad wrote:
> I expect Vincent is asking how 'svn' interprets 'svn info
> some/deep/file.c_at_50'. It does accept such target specifiers (at least
> for some commands) but it's not clear how it does or should interpret
> them.

Yes, this is what I meant.

On 2010-03-29 12:31:41 -0400, Greg Hudson wrote:
> I'll mention a related interpretation, which is to use the repository
> URL of the parent directory and append file.c to it.
> This is a little weird, and probably only makes sense as a fallback if
> the file doesn't have a URL (e.g. because it doesn't exist in the
> working copy), but it would let you do things like "svn cp
> deleted-file_at_1000 ."

This is what I seeked to do (in fact with "svn cat"). I wonder why it
doesn't work. If svn is modified to make something like that work, one
should also consider the case where the parent directory was renamed
in a later revision.

Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Received on 2010-03-30 11:07:59 CEST

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