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

Re: svn commit: r25007 - in trunk/subversion: include libsvn_client svn tests/cmdline

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-05-15 15:36:47 CEST

Karl Fogel wrote:
> I'm not sure we have any other code that depends on numeric comparison
> of two depths; it encodes assumptions about the depths' values that
> may not hold in the future. We can't predict what new depths we might
> add, or what their interpretations might be relative to existing
> depths.

And yet the comments around svn_depth_t's definition read:

  /* The order of these depths is important: the higher the number,
     the deeper it descends. This allows us to compare two depths
     numerically to decide which should govern. */

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Tue May 15 15:36:53 2007

This is an archived mail posted to the Subversion Dev mailing list.