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

Re: open by ID (was: Re: New FS API, open_path, cloning and dag_node_t)

From: Jim Blandy <jimb_at_zwingli.cygnus.com>
Date: 2001-02-15 17:24:23 CET

Greg Stein <gstein@lyra.org> writes:
> On Wed, Feb 14, 2001 at 09:24:07AM -0500, Jim Blandy wrote:
> > Karl Fogel <kfogel@galois.ch.collab.net> writes:
> >...
> > > A dag_node_t is currently something we can retrieve by key (see
> > > svn_fs_id_t). The value associated with that key knows nothing about
> > > parent information. So if dag_node_t had a parent fields, then when
> > > we retrieve a dag_node_t it would have to be incomplete.
> >
> > For what it's worth, that interface (creating a dag_node_t given a
> > node ID) was only needed by the clone tracking stuff. So that
> > function could go away.
>
> Um... a while back, I requested a way to get at a node, given an ID. The
> only thing that I need is read-access to the file contents and its
> properties. No changes, no parent info, nada.

Sorry --- I'd forgotten about that.

This is going to be problematic. For example, you can't tell whether
you're authorized to access the file without knowing whether you're
authorized to access its parent directories.

What's the larger picture? Do you need this for nodes in a
transaction, committed nodes, or both?
Received on Sat Oct 21 14:36:22 2006

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.