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

Re: Suggestion: "svn explain"

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-08-04 03:15:09 CEST

On Sun, Aug 04, 2002 at 11:11:17AM +1000, Martin Pool wrote:
> On 3 Aug 2002, Gareth McCaughan <Gareth.McCaughan@pobox.com> wrote:
> > On Saturday 03 August 2002 3:22 pm, Martin Pool wrote:
> > 1. I see nothing that guarantees that the error IDs will never
> > change. They're allocated sequentially-by-magic in
> > svn_error_codes.h, and if someone ever adds a new one
> > then all the later errors will get their IDs bumped up. Since
> > they are (currently) arranged in groups, it seems quite
> > likely that errors will get added in the middle of the list.
> I think if Subversion exposes error codes in messages, people will
> count on them to be the same. Changing them would be confusing.

i believe there has been an issue filed about just this problem,
although i don't know what the plan is to deal with it. perhaps
allocating extra error values at various points in the sequence for
later expansion, like one can do with space in data structures when
trying to maintain binary compatability...


garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 4 03:15:45 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.