Thread: CVS Question

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    41
    Rep Power
    12

    CVS Question


    Sorry, I know that this is not strictly UNIX, but I am not sure where this should go.

    I have installed CVS, no problem, everything seems to be working fine, checking in, and checking out. However, when I look at the /usr/local/cvs-rep/ dir everything has a ,v appended to the end. This is all in order, and the way it should be.

    But, it seems to mean that the code doesnt run... So, you have to "cvs checkout" it, run it, and then "cvs release" it back to some unrunnable form.

    I wanted a live code base, that you can check stuff out, play with, and then sync it back to a running system.

    Am I missing somthing very silly here?

    Thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    CVS is not made for keeping a live repository, actually you should not touch the files of the repository at all without the cvs tool.

    Checkout a second copy if you need it on two different machines...

    hth,
    ...M

    PS: afaik "cvs release" is a null-op.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    41
    Rep Power
    12
    PS: afaik "cvs release" is a null-op.

    Thanks,

    I got the impression you dont touch it (ie edit it) directly, it was just that I would like it to be runnable. Thats all. But it seems that this is not the done thing.

    Em, yeah, wrt your PS, you might be right there, but I normally

    cvs release -d myDir

    and then it saves you from rm ing the local copy yourself. And release makes me happy. The whole being finished and going home now feeling.

    Take it easy Comrade.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    I am a fan of "clean working" too. I'll remember "cvs release" next time

    ...M

IMN logo majestic logo threadwatch logo seochat tools logo