This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77955

Summary: List, Lock command support
Product: versioncontrol Reporter: buwan <buwan>
Component: CVS libraryAssignee: issues@versioncontrol <issues>
Status: NEW ---    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description buwan 2006-06-15 06:36:55 UTC
Hi
  Is it is possible to execute the following commands using javacvs library.

D:>cvs -d :pserver:buwan@xxx.xxx.xxx.xxx:/CVSROOT ls models >> list command
D:>cvs -q admin -l cvs.txt  >> lock command

  If it is possible can any one help me to solve.

Thanks
Comment 1 szakusov 2008-05-27 17:19:12 UTC
Unfortunately, list and rlist are still not supported... :(

To the lib developers, can somebody tell me what is wrong:
I've implemented "command/list/RlistCommand.java", "commandLine/command/rls.java",
modified "commandLine/CommandFactory.java" and "request/CommandRequest.java"
(http://www.emforge.org/changeset/3219/maven-scm/clients/netbeans-cvsclient)

but rls command does not work anyway - there is connection.getInputStream() does not return result for the
CommandRequest in Client.processRequests->Client.handleResponse

Comment 2 szakusov 2008-05-29 11:39:18 UTC
Ok. I've found the problem - there was incorrect CommandRequest for rls command:
http://www.emforge.org/changeset/3237/maven-scm/clients/netbeans-cvsclient

The fixed lib (with rls command) you can find here: 
http://svn.emforge.org/svn/emforge/mvnrepo/org/netbeans/lib/cvsclient