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

svn patch removes an EOL after a context line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • trunk
    • 1.10.0
    • libsvn_client
    • None

    Description

      If the final context line in a patch does not have an EOL, but the target file
      *does* have one at that position, svn patch removes that EOL from the target file.
      
      I added an XFail test, patch_tests.py 46, in r1443815.
      
      See dev@ email thread "svn patch removes an EOL after a context line", started
      2013-02-07, e.g. <http://svn.haxx.se/dev/archive-2013-02/0120.shtml>.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            julianfoad Julian Foad
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: