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

Can't create a single file external referring to a file with properties on it (e.g. binary files)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.6.6
    • libsvn_wc

    Description

      Single file externals are not working for binary files (are files that are 
      marked as binary).
      
      See <http://svn.haxx.se/dev/archive-2009-02/0025.shtml> for more information.
      
      Below is a script to reproduce:
      
      svnadmin create repos
      svn co file:///repos wc1
      cd wc1
      mkdir dir1
      echo test > dir1\file1
      echo test2 > dir1\file2
      svn add dir1
      svn mkdir dir2
      svn propset svn:mime-type application/octet-stream  dir1\file2
      svn -m "1" commit
      svn up
      cd dir2
      echo ../dir1/file1 file1 > externals.txt
      echo ../dir1/file2 file2 >> externals.txt
      svn propset -F externals.txt svn:externals .
      cd ..
      svn commit -m"2"
      svn up
      

      Original issue reported by mahae

      Attachments

        1. 1_externals_tests.py.patch
          2 kB
          Subversion Importer
        2. 2_stacktrace.jpg
          334 kB
          Subversion Importer
        3. 3_externalpatch.txt
          1 kB
          Subversion Importer

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            subversion-importer Subversion Importer
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment