On Tue, Mar 07, 2006 at 11:00:58AM -0500, C. Michael Pilato wrote:
> Malcolm Rowe wrote:
> > I've been looking to make some changes to the dir-delta code (providing a
> > stable [sorted] output for 'svn diff'), and I'm wondering if someone could
> > explain why we appear to have two (near-)identical sets of functionality
> > to drive an editor from one rex/txn to another?
>
> Ancient history. svn_repos_dir_delta() was created loooooooooong ago as
> a means of driving an editor to describe the difference between two
> Subversion transactions. The reporter code's logic was create long ago
> (note the fewer number of o's in "long"), and describes the different
> between a Subversion transaction and a ... sorta kinda transaction
> representation thingamajig.
>
Ah, good. That's the answer I was expecting and looking for.
> The former remains because it is a public API. It exists for
> completeness of the API, too, but likely has no users -- I wouldn't mind
> deprecating it and dropping it in 2.0.
>
I wasn't suggesting dropping svn_repos_dir_delta(), merely reimplementing
it in terms of the reporter code, which should be fairly trivial, I think.
It's used by 'svnadmin dump' and by mod_dav_svn's switch (though that
codepath _also_ uses the reporter code).
That's okay, yes?
Regards,
Malcolm
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 7 17:19:06 2006