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

'update' update file external without commit is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • libsvn_wc

    Description

      Setting a file external property and doing 'svn up' without an 'svn commit' 
      first is broken.
      
      noorul@laptop:/tmp/wc$ ~/projects/subversion/builds/trunk/bin/svn co 
      file:///tmp/testrepo/
      Checked out revision 0.
      
      noorul@laptop:/tmp/wc$ cd testrepo/
      
      noorul@laptop:/tmp/wc/testrepo$ touch iota
      
      noorul@laptop:/tmp/wc/testrepo$ ~/projects/subversion/builds/trunk/bin/svn add 
      iota 
      A         iota
      
      noorul@laptop:/tmp/wc/testrepo$ ~/projects/subversion/builds/trunk/bin/svn ci -m 
      "Adding iota"
      Adding         iota
      Transmitting file data .
      Committed revision 1.
      
      noorul@laptop:/tmp/wc/testrepo$ ~/projects/subversion/builds/trunk/bin/svn up
      Updating '.' ...
      At revision 1.
      
      noorul@laptop:/tmp/wc/testrepo$ ~/projects/subversion/builds/trunk/bin/svn mkdir 
      A
      A         A
      
      noorul@laptop:/tmp/wc/testrepo$ ~/projects/subversion/builds/trunk/bin/svn pset 
      svn:externals "^/iota iota" A
      property 'svn:externals' set on 'A'
      
      noorul@laptop:/tmp/wc/testrepo$ ~/projects/subversion/builds/trunk/bin/svn up A
      Updating 'A' ...
      
      Fetching external item into 'A/iota'
      svn: warning: W155010: The node '/tmp/wc/testrepo/A' was not found.
      
      At revision 1.
      ../subversion/svn/update-cmd.c:183: (apr_err=205011)
      svn: E205011: Failure occurred processing one or more externals definitions
      
      Test is already added, externals_tests.py 29
      

      Original issue reported by noorul

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: