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

svn update doesn't give up to date warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 0.30
    • libsvn_wc
    • None

    Description

      I believe the following steps should give an error or merge the change
      into the moved file:
      
      svnadmin create repos
      svn co file://`pwd`/repos r1
      cd r1
      touch a
      svn add a
      svn ci -F /dev/null
      cd ..
      svn co file://`pwd`/repos r2
      cd r2
      svn mv a b
      cd ../r1
      cat /etc/group > a
      svn ci -F /dev/null
      cd ../r2
      svn update
      
      Here, the a file in r2 is updated, even though it will be moved to b.
      The "svn commit" will end up commit the old version of the file.
      
      Two choices:  Complain on the svn update or merge the changes in
      "a" to "b".
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              blair Blair Zajac
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: