Can anyone provide an example of how to use the StatusCommand? Presumably you add event handlers to get the response back from the server but I am not sure how to get the call write. Here is what I am doing now. In my sandbox I have a file c:\cvsdev\test\testsln\testsln.sln that I want status for. The module is called testsln.  It would be nice to be able to get status on everything in a directory too.
 
This doesn't work

CvsRoot root = new CvsRoot( ":pserver:jam@localhost:/code" );
WorkingDirectory wd = new WorkingDirectory( root, "c:\\cvsdev\\test", "testsln" );
Entry entry = Entry.CreateEntry( "c:\\cvsdev\\test\\testsln\\testsln.sln" );
ICommand cmd = new StatusCommand( wd, "/testsln", entry );     << is this correct?
CVSServerConnection conn = new CVSServerConnection( wd );

// snip add event handlers

cmd.Execute( conn );

 
John A. Murphy
 
Home Page http://www.murphybytes.com