Could you show me some example on how to redirect the OutputStream (or is that some other element that i missed ?) to a form's TextBox for example ?
I've seen there are asynchronous readings and writings, but couldn't see how to use them in the tests.
What i'd like to do is having all the cvs usual responses (like logging in to blabla, update and commit responses, etc) into my textbox.
Are you using the library component or are you using the exe in a seperate process? If you are using the library you might checkout the following:
This shows how to listen to message events sent by the library.
If you are using the exe in it's own process you can pass in -verbose or -log:[debug|info|warn|error] to change the logging level. You can also change it in the cvs.exe.config file, I believe it is set to warn by default. Once those levels are altered you should be able to capture the output as per normal.
this code uses console app commands, so i guess i don't have the choice, right ?
moreover, i don't have the same code at all in my src file... what lib must i download in order to do the same ?
Actually you can use the code as an example and still use the library. If you are down that road already then it might make sense, and adding the listener is pretty easy.
The link I sent is the latest cvs version of the library/ console code. You should be able to download it from the nightly builds.
Ok i'm gonna download the latest versions then.
Once i have made some improvements for my GUI i'll ask my questions here and keep giving you feedback.
Btw, i tried to register to the users mailing list, but the server didn't seem to work.
Awesome, if you come across any bugs in the application just drop us a line.
Re: User mailing list: I sent a message to the mailing list to test and it is taking awhile to show up (i.e. 5 minutes). I will send a note to the sf.net team if it does not show up by tonight.
where can i download the whole thing in a zip or something like that ? i've browsed the cvs and it's huge, file by file it's gonna take hours...
I have added a sample windows forms application that will just display the messages from a checkout. The application is checked into cvs under the examples folder. You can build it by navigating to the build folder and using:
Or from the examples build folder:
ok i've checked out the repository and i'm starting to look at your example... it looks great, and i think it will give the keys for most people to begin using your lib.
i don't have much time for my cvs app, but i'm gonna base it upon your example, and if i ever manage to finish it, i'll send it to you.
Great, that would be really great, struggle to get going with this.
Log in to post a comment.