[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    [Issue 4495] New - external revision wrong after commit/update
From:       philip () tigris ! org
Date:       2014-04-25 12:12:20
Message-ID: iz4495 () subversion ! tigris ! org
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=4495
                 Issue #|4495
                 Summary|external revision wrong after commit/update
               Component|subversion
                 Version|trunk
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|libsvn_wc
             Assigned to|issues@subversion
             Reported by|philip






------- Additional comments from philip@tigris.org Fri Apr 25 05:12:20 -0700 2014 -------
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:

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3077058

To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic