[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: Greg Stein <gstein_at_lyra.org>
Date: 2001-02-17 00:14:33 CET

On Fri, Feb 16, 2001 at 11:07:59AM -0500, Jim Blandy wrote:
> Greg Stein <gstein@lyra.org> writes:
> > > What's the larger picture? Do you need this for nodes in a
> > > transaction, committed nodes, or both?
> >
> > Committed nodes only. This is for "svn checkout" or "svn update" -- fetching
> > the file contents and properties. The node ID is the most stable form
> > (perfectly stable, in fact) for referring to a node (imagine that).
>
> How about I generate ID's for you? They'd be opaque byte strings.

That would be fine, as long as the ID remains the same for an file that
wasn't changed from R1 to R2.

I'm using "ID/PATH" as the unique value.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
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.