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

svn_client_patch problem with empty file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.8.0
    • libsvn_diff
    • None

    Description

      The patch
      http://code.google.com/p/tortoisesvn/source/browse/trunk/test/mergediff/patch.diff
      should be applied to the folder
      http://code.google.com/p/tortoisesvn/source/browse/trunk/test/mergediff/#mergediff/FilesToPatch
      
      when applying the patch to 'file1' which is empty, it fails but should work:
      * file1
        ->  this empty file should get one new line added, but instead
            that hunk is rejected and the file stays empty.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steveking Stefan K√ľng
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: