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

RFC: Generic diff options structures?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-08-09 11:42:06 CEST

In r26000/26001, I added diff support for in-memory data. The new
functions don't support the same options (yet) as the file-based diffs
support.

I'd like to add support for diff options, but I've got one problem:
all the structures, functions and types have svn_diff_file_* prefixes
instead of svn_diff_* prefixes. I think it would be confusing to use
svn_diff_file_* identifiers with svn_diff_mem_* functions, yet we
can't eliminate the old names because of compat rules. Just adding
copied structures, functions and types however seems needless
clobbering of the namespace...
I've pondered just adding #define's to provide alias names, but it's
not a nice solution either, I guess.

Anybody with briliant ideas?

Thanks!

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 9 12:00:26 2007

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.