[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Missing file prevents submitting unrelated changelists

From: Nick <nospam_at_codesniffer.com>
Date: Mon, 28 Jan 2013 09:23:30 -0500

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.

Nick
Received on 2013-01-28 15:24:09 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.