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 - List, Lock command support
Summary: List, Lock command support
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS library (show other bugs)
Version: 3.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 06:36 UTC by buwan
Modified: 2008-05-29 11:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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