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

maintaining a list of svn: revprops

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2006-08-17 23:54:38 CEST

I'd like to move the svn:sync-* revprop definitions from within
svnsync/main.c to the public svn_props.h file. Here's why:

We need a single registry for all svn: revprops.

   - Someday the svn codebase may get large enough that one part may
     start accidentally stomping on another's revprops. It's not good
to scatter
     the definitions

   - While API consumers know that it's illegal to invent new svn:
     props, it's useful for them to see the exact list of 'official'
     svn: props.

     (In particular, my itch here is that I'm writing a
      pre-revprop-change hook program which wants to enforce that
      *only* the official ten svn: revprops are ever tweaked.)

   - The public svn_props.h has always been our registry until
     recently. I'm simply maintaining this registry by sucking in
     svn:sync-* props out of svnsync/main.c.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 17 23:55:36 2006

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.