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

move and move back breaks nested moves

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • trunk
    • 1.8.0
    • libsvn_wc
    • None

    Description

      Moving a working copy path 'A'-->'B' and then moving 'B'-->'A' results in a
      replacement, which makes some sense...except that the WC is effectively unchanged.
      
      For example:
      
      >svn st
      
      >svn up
      Updating '.':
      At revision 10.
      
      >svn move iota iota-moved
      A         iota-moved
      D         iota
      
      >svn move iota-moved iota
      A         iota
      D         iota-moved
      
      >svn st
      R  +    iota
              > swapped places with iota
      
      >svn diff
      
      >svn ci -m "empty commit"
      Replacing      iota
      
      Committed revision 11.
      
      Seems that as we endeavor to make 'svn move' more atomic on the WC side (issue
      #3630) that a scenario like that above should simply result in a WC with no changes.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pburba Paul Burba
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: