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

non-link multiline file with svn:special is truncated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: all
    • Fix Version/s: ---
    • Component/s: libsvn_subr
    • Labels:
      None

      Description

      Set svn:special erroneously on a non-link multiline file (I think this is most
      likely to happen in a mixed Windows/Unix setup):
      
      svnadmin create repo
      svn import -mm repo/README.txt file://`pwd`/repo/A/f
      svnmucc -mm propset svn:special '*' file://`pwd`/repo/A/f
      svn co file://`pwd`/repo wc
      
      The code in create_special_file_from_stream will fallback to creating an
      ordinary file but the file will only include the first line of content. The file
      shows as status ~ on Unix, and reported to be status M on Windows although I
      have not verified that. Creating the file is OK but it should include the full text.
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: