0

I need to checkout from a CVS base in Linux, on a Windows machine with a directory link to a samba folder on Linux. In Linux, my cvsroot folder is

mylogin$ cd /home/myuser/repositories/cvsroot
mylogin$ ls
CVSROOT PRJ1 PRJ2
mylogin$ 

which is mapped from Samba. On Windows, it is mapped to a drive z: from /home/myuser/repositories/. Also on Windows, my CVSROOT environment variable is configured as CVSROOT=z:\cvsroot.

So, for checking out PRJ1 on a Windows folder, I tried

cvs co PRJ1 .

and it returned me the error message

cvs [checkout aborted]: Failed to resolve path: `Z:\cvsroot': No such file or di rectory

So, what did I miss?

Thanks in advance.

Rego
  • 1,118
  • 1
  • 18
  • 40
  • Did you try checking out using the actual network share path instead of the mapped drive? In other words `export CVSROOT=\\1.2.3.4\cvsroot ` and then `cvs co PROJ1`? – Icarus Nov 07 '12 at 17:16
  • Yes. It returns me `cvs [checkout aborted]: \\serverip\cvsroot/CVSROOT: No such file or directory` – Rego Nov 07 '12 at 17:25

1 Answers1

1

Just found out the answer.

The post from cvs checkout from windows command line helped me. So I used

cvs -q -d /cygdrive/z/cvsroot co -d . PRJ1

and it worked.

Community
  • 1
  • 1
Rego
  • 1,118
  • 1
  • 18
  • 40