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

Re: [Issue 584] - get rid of path styles inside svn

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-01-08 11:14:12 CET

"Bill Tutt" <rassilon@lyra.org> writes:

> You know, I just realized why this code has been really bugging me
> (before and after your suggested patch), and why making SVN's callers
> worry about the silly conversions makes me so annoyed. We don't
> differentiate paths from URLs. They're a separate conceptual data type
> with different rules about how they're composed, parsed, etc...
>
> If we were using something other than C, expressing this desire would be
> so much easier. *sigh* As things stand, of course, we're rather stuck
> with C.

Easier perhaps, but it's still not impossible:

typedef struct svn_path_t { svn_stringbuf_t path; } svn_path_t;
typedef struct svn_url_t { svn_stringbuf_t url; } svn_url_t;

Should be a straighforward change, although fairly extensive...

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 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.