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

Re: svn_client__get_revision_number() returning -1

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 15 Apr 2010 11:31:43 -0400

On Thu, Apr 15, 2010 at 07:55, Julian Foad <julian.foad_at_wandisco.com> wrote:
> On Wed, 2010-04-14 at 23:06 +0200, neels wrote:
>...
>> The problem is that an added node returning SVN_INVALID_REVNUM for
>> _revision_base would look like it was _revision_unspecified. Instead,
>> svn_client__get_revision_number() asked for an added node's _base
>> should probably rather throw an error.
>
> Yes, that might be better, as it seems to be useful to keep the "INVALID
> means HEAD" semantic.

Well... is that _base in terms of the cmdline semantic? What is that exactly?

In terms of the BASE tree, an added node is not present there, so
"give me the BASE revision for ADDED-FILE" is non-sensical and an
error is appropriate.

Cheers,
-g
Received on 2010-04-15 17:32:11 CEST

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.