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

 
 

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

Submitter:  Rahul Bhargava <b_rahul>
Submitted:  Wed 02 Nov 2005 08:25:03 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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
done
Checking in file3;
${CVSROOT_DIRNAME}/first-dir/Attic/file3,v  <--  file3
new revision: 1\.1\.2\.1; previous revision: 1\.1
done"





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


Regards,
Rahul Bhargava,
WANdisco, Inc.
http://www.wandisco.com

Rahul Bhargava <b_rahul>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-02 b_rahul Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code