[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: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-03-31 18:21:42 CEST

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 31 18:21:54 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.