Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cvs checkout gets empty directory but no files

Status
Not open for further replies.

cibee

Programmer
Dec 15, 2004
38
US
Hi all,

I set a repository following the steps given in
My problem is when I checkout a copy of my project from the repository to my sandbox I only get empty directories with no files inside. Has anyone come accross such a problem before? Is this a permission issue or something?

Any lead is appreaciated.
Thanks in advance,
Cibee
 
Hi Cibee,

I assume that you've imported your project into the repository properly. Were there any error messages as you check out?

Can you check out the CVS Root folder with all the files inside? Check that your file types are not in the ignored list, which is listed in .cvsignore of CVSRoot.

You might also want to make sure the file permissions are correct. See
Hope this helps,

Ed
 
Hi Ed,

Thanks for your early response. I did a little investigation based on what you asked.

>>>>>>>I assume that you've imported your project into the repository properly. Were there any error messages as you check out?

I didn't get any conflicts or errors when I imported my project. My repository has all the files and directories I need.
No, there are no error messages when I checkout the project. It just wouldn't checkout the files but would checkout only the directories. Seems like cvs treats files and directories differently.


>>>>>>Can you check out the CVS Root folder with all the files inside? Check that your file types are not in the ignored list, which is listed in .cvsignore of CVSRoot.

Yes, I can checkout the CVSROOT folder except for two files history and val-tags. I don't see the .cvsignore file in CVSROOT directory.

>>>>>>>You might also want to make sure the file permissions are correct. See
I have same username on both machines(client/server) and I included myself in cvs groups of server(/etc/group). I am sure I have write permission because I tested by adding a test file and tagging it.. this works.. meaning when I checkout again only this file is included with all directories.

I think of adding all the files from one of the clients might do the trick though it is time consuming... There must be an easier way. any suggestions??


Thanks in advance,
Cibee
 
Hi Ed,

Thanks for your help. I built the repository again. This time it worked fine. I can checkout everything. Looks like I had messed up while setting up (importing) the repository.

Wow.. this looks complicated but its not that bad...

Thanks again,
Cibee
 
Hi Cibee,

Yep that's why I asked first. The repository is quite complex to import and set up. But if you get the right, the rest is just all smooth sailing.

Glad it's working.

Cheeres,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top