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

Missing file not in changelist prevents submitting changelists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.x
    • 1.7.9
    • libsvn_wc
    • None
    • Linux

    Description

      Removing a file which is scheduled to be added prevents submitting
      unrelated changelists.
      
      Occurring w/ my current version (1.7.7), have not tried others.
      
      Annotated & unannotated repro steps follow.
      
      $ svn --version
      svn, version 1.7.7 (r1393599)
         compiled Jan  5 2013, 15:01:56
      
      
      Unannotated repro steps:
      
              $ svn status
              $ touch a b c
              $ svn add a b c
              $ svn cl "Add a and b" a b
              $ rm c
              $ svn commit --cl "Add a and b"
              svn: E155010: Commit failed (details follow):
              svn: E155010: '/home/nick/test_repo/c' is scheduled for addition, but
      is missing
      
      
      Annotated repro steps:
      
      
      Starting with a clean & up-to-date repo:
      
              $ svn status
      
      Create and add 3 files to the repo:
      
              $ touch a b c
              $ svn add a b c
              A         a
              A         b
              A         c
      
      Add 2 of the files (a & b) to a changelist:
      
              $ svn cl "Add a and b" a b
              A [Add a and b] a
              A [Add a and b] b
      
              $ svn status
              A       c
              
              --- Changelist 'Add a and b':
              A       a
              A       b
      
      Remove file 'c' which is slated for addition, but not part of the
      changelist:
      
              $ rm c
      
              $ svn status
              !       c
              
              --- Changelist 'Add a and b':
              A       a
              A       b
      
      Attempt to commit the changelist:
      
              $ svn commit --cl "Add a and b"
              svn: E155010: Commit failed (details follow):
              svn: E155010: '/home/nick/test_repo/c' is scheduled for addition, but
      is missing
      
      
      This behavior is unexpected, since the removed file (c) is not in the
      changelist being committed.
      

      http://mail-archives.apache.org/mod_mbox/subversion-users/201301.mbox/%3C1359383010.30477.11.camel%40nimble.325Bayport%3E

      Attachments

        Activity

          People

            Unassigned Unassigned
            nospam@codesniffer.com Nick G.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: