Contact US

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!

*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

Help a newb out! :D

Help a newb out! :D

Help a newb out! :D

Hi everyone,

I am using CVS as a part of my work, and an odd thing happened.

At one point a part of the code broke, and at the time I was still new to CVS and essentially just wanted to checkout the project from CVS in a different spot, to compare a few files that I had edited to see where it broke.  Though when I first did this, I realized I was inside one of the directories so I quickly went CTRL-C to cancel it.

Fast forward to now, where I want to tag a branch, and it thinks that the folder that I had accidentally checked out should still be there (I deleted it after cancelling the checkout a while ago).  Basically it's looking for a folder called 'aiscript' which is the root folder of the project, but I'm already 3 folders deep!

As a result, I get:

cvs [tag aborted]: could not chdir to aiscript: No such file or directory

I'm not 100% sure, but I think the system is set up to run Fedora Core 4 Linux, if that is any help.

Thanks in advance.


RE: Help a newb out! :D

If you don't have any modifications in your working directory I would recommend just releasing it and checking out the module again.

If you do have modifications you should checkout another working directory to another location (not a subdirectory of your current working directory of course :p). and then copy in your modifications to that working directory.

Also typically I use the cvs rtag command when creating tags/branches which interacts directly with the repository and not your working directory.

RE: Help a newb out! :D

Thanks for that driven.  That's ultimately what I ended up doing.

I have always done branches by going:

cvs tag -b branchname
cvs update -r branchname

How exactly does the CVS rtag work?


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! Already a Member? Login

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