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

Re: what is a baton?

From: Daniele Nicolodi <daniele_at_grinta.net>
Date: 2002-07-10 20:27:30 CEST

On Wed, Jul 10, 2002 at 01:20:28PM -0500, Ben Collins-Sussman wrote:

> Yes, Jim Blandy made up the term in the early days of subversion. He
> invented it when he came up with the Editor interface. The idea was
> that each editor call would "pass a baton" to the next one.
> (open_dir() creates a dir_baton, which is passed into open_file(),
> etc, which creates a file_baton, which is passed into apply_txdelta(),
> and so on.)
> Afterwards, we just started using the term 'baton' to refer to any use
> of opaque userdata. :-)

I think that this definition must be included in documentation.
Peraps into developpers documentation (the HACKING file ?)


		    --- http://www.grinta.net ---
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 20:28:06 2002

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.