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

Re: svn commit: r34914 - branches/http-protocol-v2/subversion/libsvn_ra_serf

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: Tue, 13 Jan 2009 17:23:45 -0800

Greg Stein <gstein_at_gmail.com> writes:

> On Tue, Jan 13, 2009 at 13:36, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> >...
> > No implementation of an RA API should be allowed to use a stale value for
> > HEAD. Subversion != svn, and GUI clients that keep the libraries loaded
>
> Eh? Where is that guarantee in the API documentation? I don't recall
> us ever saying that would be the case.

/**
 * Get the latest revision number from the repository of @a session.
 *
 * Use @a pool for memory allocation.
 *
 * @since New in 1.2.
 */
svn_error_t *
svn_ra_get_latest_revnum(svn_ra_session_t *session,
                         svn_revnum_t *latest_revnum,
                         apr_pool_t *pool);

In what universe does "latest" mean "the value I cached when you
created this ra object an hour ago"?

-- 
Eric Gillespie <*> epg_at_pretzelnet.org
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1023286
Received on 2009-01-14 02:23:09 CET

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.