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

obstructing working copy after clean update to a revision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.9.5
    • None
    • None
    • windows 7 x64, tortoise svn tools

    Description

      If try to move some directory into new place and make external on the old place of the moved directory with the same name, then the svn stops update this external properly if execute backward update into revision below the commit with new external.

      See the windows batch script in the attachment for reproduction.

      The output is:

      Checked out revision 0.
      svn: Skipping argument: E200025: 'test_repo_root/.svn' ends in a reserved name
      A test_repo_root\dir1
      A test_repo_root\dir1\file1.txt
      A test_repo_root\dir2
      A test_repo_root\dir2\file2.txt
      Adding test_repo_root\dir1
      Adding test_repo_root\dir1\file1.txt
      Adding test_repo_root\dir2
      Adding test_repo_root\dir2\file2.txt
      Transmitting file data ..done
      Committing transaction...
      Committed revision 1.
      Updating 'test_repo_root':
      At revision 1.
      A test_repo_root\ext
      A test_repo_root\ext\dir2
      D test_repo_root\dir2
      D test_repo_root\dir2\file2.txt
      property 'svn:externals' set on 'test_repo_root'
      Sending test_repo_root
      Deleting test_repo_root\dir2
      Adding test_repo_root\ext
      Adding test_repo_root\ext\dir2
      Committing transaction...
      Committed revision 2.
      Updating 'test_repo_root':

      Fetching external item into 'test_repo_root\dir2':
      A test_repo_root\dir2\file2.txt
      Updated external to revision 2.

      At revision 2.
      Updating 'test_repo_root':
      D test_repo_root\ext
      Skipped 'test_repo_root\dir2' – An obstructing working copy was found
      U test_repo_root
      Removed external 'test_repo_root\dir2'
      Updated to revision 1.
      Summary of conflicts:
      Skipped paths: 1

      I know this is old issue, but why a clean copy could not be so as clean updated?
      Why the externals does not process for remove before the update to a revision? If you do so this error would not happen.

      Attachments

        1. test_update_issue.bat
          1 kB
          Andrey

        Activity

          People

            Unassigned Unassigned
            Andry81 Andrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: