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

file externals with old servers fail to update

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.x
    • Fix Version/s: 1.7.7
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      Reported here:
      
      http://mail-archives.apache.org/mod_mbox/subversion-users/201208.mbox/%3CCBAF01F59887AB409CA6E59F7D5A852218EEED49@DNCE04.ent.ti.com%3E
      
      A 1.7 client fails to handle file externals with very old mod_dav_svn servers.
      
      svnadmin create repo --fs-type bdb --pre-1.4-compatible
      svn import -mm repo/format file://`pwd`/repo/A/f
      svn mkdir -mm file://`pwd`/repo/B
      svn co http://localhost/repo/B wc
      svn ps svn:externals '^/A/f f' wc
      svn ci -mm wc
      svn up wc
      svn up wc
      
      When the server is running mod_dav_svn 1.0.9 or 1.1.4 (possibly others) the
      update fails with:
      
      Fetching external item into 'wc/f':
      svn: warning: W160016: Failure opening '/A/f/f'
      
      Note the wrong repository path /A/f/f.
      
      The update report that the client sends is:
      
      <S:update-report send-all="true" xmlns:S="svn:">
      <S:src-path>http://localhost:8888/obj/repo/A/f</S:src-path>
      <S:target-revision>3</S:target-revision>
      <S:update-target>f</S:update-target>
      <S:dst-path>http://localhost:8888/obj/repo/A/f</S:dst-path>
      <S:depth>unknown</S:depth>
      <S:ignore-ancestry>yes</S:ignore-ancestry>
      <S:entry rev="3" depth="infinity" ></S:entry>
      <S:entry rev="3" depth="infinity"  linkpath="/A/f"></S:entry>
      </S:update-report>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                philipm Philip Martin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: