Bug 55666

Summary: Committing to CVS fails from FileGroups & FileTree context menus
Product: [Developer tools] kdevplatform Reporter: Mario Scalas <mario.scalas>
Component: cvsAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.9.94   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mario Scalas 2003-03-07 23:20:03 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.2  
OS:          Linux

1) Created a KParts KDE Application with local CVS support (/home/cvsroot)
(Initial creation of repository successfull)

2) Modified a line in main.cpp and wanted to update the repository.
(Now the problem).
(a) Using the context menu->CVS->Commit from File Groups group on file main.cpp gives error:
cd 'src' && cvs -f commit -m 'My nice comment' 'main.cpp'
/bin/bash: line 1: cd: src: No such file or directory
*** Exited with status: 1 ***
(b) Using the same context menu fron FileTree gives the error
cd '/home/mario/test/src' && cvs -f commit -m 'My nice comment' 'main.cpp'
cvs commit: cannot open CVS/Entries for reading: No such file or directory
cvs commit: nothing known about 'main.cpp'
cvs [commit aborted]: correct the above errors first!
*** Exited with status: 1 ***

3) Now checked out the repository into another directory (from konsole) with "cvs co test/testpart": ok.

4) Opened the project in the newly checked out directory: ok.

5) Made some trivial modifications to file main.cpp and tried committing: (a) still fails, while (b) succeeds.
Comment 1 Amilcar do Carmo Lucas 2003-04-03 22:50:28 UTC
These bugs have been fixed in CVS. Test it if for some reason it doesn't work, 
complain 
Comment 2 Mario Scalas 2003-04-03 23:36:12 UTC
I confirm that it works nice :)