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

Double update of versioned file externals corrupting file timestamps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.x
    • 1.7.0
    • unknown
    • Linux

    Description

      Also see my email with test repository 
      http://svn.haxx.se/users/archive-2010-06/0197.shtml , thread
      http://svn.haxx.se/users/archive-2010-06/index.shtml#197 .
      
      Hi,
      
      we stumbled over an annoying issue with subversion 1.6.11. If we update a WC
      with versioned file externals, files where the version is not equal to the last
      revision of the file, are double-updated on _every_ update like this:
      
      [user@machine:~/a/test_file_externals]$ svn up
      U    trunk/combined-src/file1.c
      
      Fetching external item into 'trunk/combined-src/file1.c'
      U    trunk/combined-src/file1.c
      Updated external to revision 4.
      
      
      Fetching external item into 'trunk/combined-src/file2.c'
      Updated external to revision 4.
      
      Updated to revision 6.
      [user@machine:~/a/test_file_externals]$ svn up
      U    trunk/combined-src/file1.c
      
      Fetching external item into 'trunk/combined-src/file1.c'
      U    trunk/combined-src/file1.c
      Updated external to revision 4.
      
      
      Fetching external item into 'trunk/combined-src/file2.c'
      Updated external to revision 4.
      
      Updated to revision 6.
      [user@machine:~/a/test_file_externals]$
      
      
      Naturally this updates the file timestamps everytime and thus triggers Makefile
      actions.
      

      Original issue reported by jinkamasan

      Attachments

        1. 1_test_file_externals.tar.bz2
          9 kB
          Subversion Importer

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: