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

optimize propogation of inherited mergeinfo on source during URL->[WC|URL] [copy|move]

    XMLWordPrintableJSON

    Details

      Description

      As recently discussed here,
      
      http://svn.haxx.se/dev/archive-2012-06/0078.shtml
      
      URL->[WC|URL] copies and moves still will make the copy source's inherited
      mergeinfo explicit on the destination (assuming the source has *no* explicit
      mergeinfo of course[1]).  When copying between branches this makes sense, since
      valid merge history may be lost otherwise.  There are cases however where it
      doesn't add any information and instead only adds "noise" in the form of
      needless new explicit mergeinfo properties:
      
      1) The source's inherited mergeinfo is empty
      
      2) The source and destination inherit mergeinfo from the same parent
      
      3) Other cases???
      
      While the current behavior doesn't cause any harm re the correctness of
      mergetracking, it is potentially a bit confusing.  Ideally inherited mergeinfo
      would not be propagated in these cases. 
      
      [1] If a copy source has explicit mergeinfo, that mergeinfo is always copied to
      the destination, we are talking here only about cases where the source has *no*
      explicit mergeinfo.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pburba Paul Burba
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: