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

Re: Feature proposal: maintain timestamps on svn hotcopy

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-24 11:33:44 CET

On Wed, 23 Mar 2005, Scott Parkerson wrote:

> On Wed, 23 Mar 2005 23:00:27 +0000, Philip Martin
> <philip@codematters.co.uk> wrote:
> > You can't add a parameter to svn_io_copy_file as that would break the
> > ABI. You need to rename the function, to svn_io_copy_file2 say, add
> > the new parameter and implementation, and then write a wrapper with
> > the original name and parameter list that calls the new function.
> Oh, crud. I spent the afternoon adding the parameter to svn_io_copy_file
> and trickling it upwards to all the callers -- a good twelve or so files were
> changed. Good thing I asked. :)
> Anyways, I'm still going to have to modify other stuff in io.c... what can
> and can't I modify without breaking the ABI? Is there a rule of thumb I
> can follow to make sure I don't screw things up for everyone else?
> (My apologies for being a total n00b on this.)

The HACKING file is a good starter. Basically, you can't change the public
API, but instead introduce new ones and deprecate the old. Check out the
header file; search for @since and @deprecated to get the style we use.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 24 11:30:52 2005

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.