×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

cvs checkout gets empty directory but no files

cvs checkout gets empty directory but no files

cvs checkout gets empty directory but no files

(OP)
Hi all,

I set a repository following the steps given in http://cvsbook.red-bean.com/cvsbook.html#Starting%20A%20Repository

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

RE: cvs checkout gets empty directory but no files

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 http://durak.org/cvswebsites/doc/cvs_13.php

Hope this helps,

Ed

RE: cvs checkout gets empty directory but no files

(OP)
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 http://durak.org/cvswebsites/doc/cvs_13.php

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

RE: cvs checkout gets empty directory but no files

(OP)
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

RE: cvs checkout gets empty directory but no files

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close