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

Re: Reporter API cleanup for 1.0

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-12-28 22:04:43 CET

On Sun, 2003-12-28 at 13:04, Greg Hudson wrote:

> I will also document the following bizarre and gross report behavior I
> discovered just now: if you do an "svn update A/B" and there is a
> deleted entry for A/B, the adm crawler will report:
>
> set_path("", rev-of-anchor)
> delete_path("")

Let me clarify something: the reporter vtable really ought to have a
new function called "start_report()", to bookend finish_report(). To
start the report, we need to state which revision the report (txn) is
going to be based on. At the moment, we're overloading the *first* call
to set_path() with this responsibility.

So really, that set of calls above isn't so hideous. In a better world,
it would look like

  start_report(anchor-revnum)
  delete_path("") # delete the target of the update

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 28 22:05:13 2003

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.