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

Re: grumble, grumble

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-12-19 19:50:29 CET

Greg Stein <gstein@lyra.org> writes:
> I'm finding it rather annoying that svn_wc_prop_get() takes an svn_string_t.
> I've got a couple fixed names for properties and need to keep constructing
> an svn_string_t to deal with the props.
>
> Should I:
>
> 1) create a second interface that takes a "const char *"
> or
> 2) change the prototype for svn_wc_prop_get/set ?

Hmmm.

I'm sorry to do this to you, but could you create a second interface?

Binary properties (both name and value) are permissible, so we need to
use svn_string_t. I confess that having a binary *name* is unlikely,
and probably suffers from the same XML attribute problem in our DTD
that filenames suffer from. But adding to the problem won't help
us. :-)
Received on Sat Oct 21 14:36:17 2006

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