No such directory when transferring files using CVS from Eclipse

I am using Eclipse exclusively as a CVS client. Basically it works pretty well, but every now and then when I right-click a file to commit it (the file it says itself is modified and ready to commit) it tells me: "cvs [server aborted]: no such directory `... '

But the directory exists ?! If I go to the folder using tortoiseshell CVS and right click to commit, does it work fine? (this way I finally have to get these files)

Has anyone experienced this, and more importantly, has anyone solved it? :) I am running Vista on a client PC and the CVS server is Windows Server 2003 (please don't tell me to just switch to Linux - it doesn't help much ).

Thank you very much for your help!

+2


a source to share


2 answers


Not sure about Eclipse, but I faced the same issue with WinCVS client. I could do CVS operations once I copied a folder CVS

in each directory along the way.

For example: suppose I am in C:\source\dir1

. I choose flat-view and find the contour of the file C:\source\dir1\dir2\dir3\file.cpp

, I should have a folder CVS

that is present in each of the following directories: dir1

, dir2

and dir3

. If one or more folders are missing, we see the error below.



cvs diff -u -- dir2\dir3\file.cpp (in directory C:\Source\dir1\)
cvs [diff aborted]: no such directory `dir2/dir3'

      

0


a source


My decision -



  • backup files that you changed in notepad or ...
  • remove folder from eclipse.
  • Sync again (eclipse shows files in minus)
  • override and update now.
  • copy the contents of the modified file
  • commit
0


a source







All Articles