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

Re: get revision on which a node was added

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-03-31 18:37:18 CEST

On 3/31/07, Ben Collins-Sussman <sussman@red-bean.com> wrote:
>
> On 3/31/07, Ewout <evtroost@vub.ac.be> wrote:
> > Hello all,
> >
> > Does anyone know if the svn API has a way to extract the revision
> > on which a particular node was added to the repository?
>
> Are you asking about a *node*, or a *file*? A file's history is a
> long series of nodes.
>
> If you want to know when a file was first added to the repository, you
> need to find some version of it (some node), and follow the links
> backwards in time to previous versions of the node, until you find
> the node that has no ancestor. Just as you describe.

I will just add that this request has a lot in common to the RFC Daniel Rall
posted last night. It could even be the identical request depending on how
the poster would want to handle an item that has been copied.

http://svn.haxx.se/dev/archive-2007-03/1328.shtml

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Sat Mar 31 18:37:29 2007

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.