Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2918

[sparse-directories] Optimize depth filtering (server compatibility) logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk
    • unscheduled
    • None

    Description

      Currently, the code which handles support of the new depth stuffs (--depth,
      sparse directories, etc.) when talking to a pre-1.5 (non-depth-aware) server
      does so by simply throwing away information retrieved from the server that falls
      outside the scope of the requested depth.  This is an accurate way to deal with
      the problem, but isn't optimal for RA layers which use multiple requests to get
      the job done.  For example, ra_serf requests a skeletal tree delta report from
      the server, then subsequently (and somewhat simultaneously) fetches file
      contents and such as necessary.  Today, ra_serf behaves exactly the same with
      the depth-filtering code in place as without.  But ideally, it wouldn't even do
      those extra file content fetches for files that fall outside the depth scope --
      those file contents are today immediately discarded anyway.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmpilato C. Michael Pilato
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: