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

external revision wrong after commit/update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.8.13
    • libsvn_wc
    • None

    Description

      Commiting a change to the peg revision of an external doesn't update the
      EXTERNALS table:
      
      svnadmin create repo
      svn mkdir -mm file://`pwd`/repo/A ^/X
      svn mkdir -mm file://`pwd`/repo/A/B
      svnmucc -mm propset svn:externals '^/A@1 A' file://`pwd`/repo/X
      svn co file://`pwd`/repo/X wc
      svn propset svn:externals '^/A@2 A' wc
      svn ci -mm wc
      svn up wc
      
      The svn:external is now r2:
      
        svn pg svn:externals wc
        ^/A@2 A
      
      as is the working copy:
      
        svn info wc/A/B | grep ^Rev
        Revision: 2
      
      but EXTERNALS is still r1:
      
        sqlite3 wc/.svn/wc.db "select * from externals"
        1|A||1|normal|dir||A|1|1
      
      so "svn status -u" shows wc/A/B as out-of-date:
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: