web3null

Donnerstag, Juli 25, 2013

checkout module from local cvs repository on a windows machine

Today I came across a kind of special situation at client. The source code was inside a local cvs repository. The easy step would be checking out a module by using the cmd or tortoiseCVS Gui. Both ways result in the error messages

"cvs checkout: Couldn't open default trigger library: No such file or directory" or
"cvs [checkout aborted]: Couldn't open default trigger library: No such file or directory".

It seems, a dll library is missing. I was looking for a solution, but I did not want to buy a licence for a pro cvs server nor I did not want listen to suggestions like 'dont't use cvs"...

So, in the end, I found a quick way, to get the files out of the repository by installing cygwin with including binary of cvs. In the cygwin console, you have to enter the same command to checkout the module:

~ $ export CVSROOT=/path/to/repo
~ $ cd c:
/cygdrive/c $ cd workspace
/cygdrive/c/workspace $ cvs co theModuleName
Thanks