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

update --depth=empty on old servers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.x
    • 1.7.x
    • libsvn_wc
    • None

    Description

      Reported here:
      http://mail-archives.apache.org/mod_mbox/subversion-users/201110.mbox/%3CCALBOmsZwnTu3k4MzB+jGTLLe2FRtAEyhTxt6sWa+3540U5GD4Q@mail.gmail.com%3E
      
      foundry.supelec.fr is running mod_dav_svn 1.4.2.  The following works as
      expected using a 1.6 client, but a 1.7 client downloads content withing tags:
      
      svn co --depth=empty http://foundry.supelec.fr/svn/metapost wc
      svn up --depth=empty wc/tags
      
      (using --username annoymous --password '')
      
      Wireshark shows that the 1.6 report request is this:
      
      <S:update-report send-all="true" xmlns:S="svn:"><S:src-path>http://foundry.supel
      ec.fr/svn/metapost</S:src-path><S:update-target>tags</S:update-target><S:recursi
      ve>no</S:recursive><S:depth>empty</S:depth><S:send-copyfrom-args>yes</S:send-cop
      yfrom-args><S:entry rev="1697" depth="empty"  start-empty="true"></S:entry><S:mi
      ssing></S:missing></S:update-report>
      
      while the 1.7 report request is this:
      
      <S:update-report send-all="true" xmlns:S="svn:"><S:src-path>http://foundry.supel
      ec.fr/svn/metapost</S:src-path><S:update-target>tags</S:update-target><S:depth>u
      nknown</S:depth><S:entry rev="0" depth="empty" ></S:entry><S:missing></S:missing
      ></S:update-report>
      
      I was using neon in both cases.  Not sure if this is a libsvn_ra_neon or a
      libsvn_wc bug.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: