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

[sparse-directories] Depth parameter for the editor API

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-03-21 01:22:39 CET

Karl, attached is a patch attempting to implement the outstanding
suggestions from Peter's "Default depth in reporter?" review mail:


I've dropped the DEPTH parameter from the svn_repos_begin_report3()
API and its callers, in favor of writing the DEPTH passed to
set_path() to the report, and subsequently using that depth during the
editor drive. An unknown value passed to write_path_info() will
default to report_baton_t->default_depth (a field which I renamed from
depth). I've got svn_repos_begin_report3() setting
report_baton_t->default_depth to svn_depth_infinity, but perhaps it
should be smuggling in a depth of svn_depth_unknown?

You'll notice that I had to change svn_wc_crawl_revisions3() to use
the passed-in DEPTH parameter (when known) for the first call to
set_path() (there's another call to set_path() near the beginning of
this routine which may need similar treatment).

  • text/plain attachment: patch
  • application/pgp-signature attachment: stored
Received on Wed Mar 21 01:23:05 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.