Differences between revisions 1 and 2
Revision 1 as of 2008-09-05 15:51:11
Size: 83
Editor: 194
Comment:
Revision 2 as of 2008-09-05 17:30:21
Size: 654
Editor: 194
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Опишите Recursively fetching properties from a repository (low-level API). Here we will show how you can fetch properties from the repository recursively in a single request using [[SVNRepository]]. Many newbie users who come across the [[SVNRepository]] interface for the first time, decide to implement the task of recursive retrieving properties from a repository tree with the help of [[SVNRepository]]'s ''getDir()'' method. To get properties recursively you'll have to call ''getDir()'' in recursion. It's not a wrong way, but consider the repository tree with multiple leaves (with hundreds or maybe thousands of them). For each directory leave ''getDir()'' sends a new request what leaves to extremely slow performance.

Here we will show how you can fetch properties from the repository recursively in a single request using SVNRepository. Many newbie users who come across the SVNRepository interface for the first time, decide to implement the task of recursive retrieving properties from a repository tree with the help of SVNRepository's getDir() method. To get properties recursively you'll have to call getDir() in recursion. It's not a wrong way, but consider the repository tree with multiple leaves (with hundreds or maybe thousands of them). For each directory leave getDir() sends a new request what leaves to extremely slow performance.

Recursively fetching properties from a repository (low-level API) (last edited 2008-09-05 18:59:11 by 194)