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

can't "svn patch" working copy root if the patch is in --git format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Thread "[PATCH] can't "svn patch" working copy root if the patch is in --git format" on dev@, 2018-07-09, by Dmitry Pavlenko, archived at lists.apache.org

      Note that the patch looks like:

      Index: /tmp/wc
      ===================================================================
      diff --git a/ b/
      — a/ (revision 0)
      +++ b/ (working copy)

      Property changes on:
      [...]

      Main points:

      • The provided patch makes "svn patch" accept that patch
      • "svn diff" should also show a dot for the path: "Property changes on: ."
      • Maybe "svn diff" should say "diff --git a/. b/." for consistency (other directory paths printed there do not end with a slash) and clarity.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: