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

'svn st -u' fails if HEAD has added files in an added subdirectory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 0.14.0
    • src
    • None

    Description

      In the following sequence wc/zog and revision 1 are created to avoid the problem
      updating to rev 0 (see issue #589)
      
      $ svnadmin create /tmp/repo
      $ svn co file:///tmp/repo -d wc
      $ echo zog > wc/zog
      $ svn add wc/zog
      A          wc/zog
      $ svn ci wc
      Adding          wc/zog
      Commit succeeded.
      $ svn up wc
      $ svn mkdir wc/foo
      A          wc/foo
      $ echo bar > wc/foo/bar
      $ svn add wc/foo/bar
      A          wc/foo/bar
      $ svn ci wc
      Adding          wc/foo
      Adding          wc/foo/bar
      Commit succeeded.
      $ svn up -r1 wc
      D  wc/foo
      $ svn st -u wc
      
      svn_error: #21020 : <Obstructed update>
        svn_wc_entry: wc/foo/bar is not a working copy directory
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philipm Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: