bugConcurrent Versions System - Bugs: bug #14904, Partial commit breaks the CVS...


bug #14904: Partial commit breaks the CVS contract with the client

Submitted by:  Rahul Bhargava <b_rahul>
Submitted on:  Wed 02 Nov 2005 08:25:03 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 02 Nov 2005 08:25:03 PM UTC, original submission:

This is a bug we uncovered while running sanity.sh. If you look at the test rmadd-14 in sanity.sh, it is trying to do a dir level commit:

dotest_fail rmadd-14 "${testcvs} -q ci -r mybranch -m add" \
"${PROG} commit: Up-to-date check failed for .file2'
${PROG} \[commit aborted\]: correct above errors first!"

The commit fails with an up-to-date check as file2 is not on the baranch, yet the file3 is surreptiously added to the Attic! The CVS client does not get any message to that effect. This is in violation of the normal commit behaviour of aborting the entire commit if any one of the file is not up-to-date.

The next test in the suite, rmadd-15 should not be finding the file in Attic:

dotest rmadd-15 "${testcvs} -q ci -r mybranch -m add file3" \
"RCS file: ${CVSROOT_DIRNAME}/first-dir/Attic/file3,v
Checking in file3;
${CVSROOT_DIRNAME}/first-dir/Attic/file3,v <-- file3
new revision: 1\.1\.2\.1; previous revision: 1\.1

We don't have a bug fix/patch for this yet but just want to track the issue for now.

Rahul Bhargava,
WANdisco, Inc.

Rahul Bhargava <b_rahul>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Wed 02 Nov 2005 08:25:04 PM UTCb_rahulCarbon-Copy-=>Added -unavailable-

Back to the top

Powered by Savane 3.1-cleanup1