[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 3 Aug 2003 23:51:22 +1000
> I've been using GNU CVS for a while on and off. In my
> last project, I used the the cvs command such as "cvs
> co dummy.c" for editing the file.
Sounds like a far shot, but:
rcs co blah.c
will check out blah.c for editing and make it read-write -- exactly the
behaviour described. Is there a possible confusion between rcs and cvs?
Far Edge Technology
Date: Fri, 1 Aug 2003 16:01:43 +1000
From: JacobRhoden <address@hidden>
Subject: Re: checkout
To: address@hidden, Mark Priest <address@hidden>,
Content-Type: text/plain; charset="iso-8859-1"
On Fri, 1 Aug 2003 02:30 pm, Y Hu wrote:
> I know "cvs co module" works, it checks out the whole
> directory. Now, the real question is how do you check
> out a file for editing? I thought "cvs co dummy.c"
> changes a read-only file dummy.c to a read-write file
> in my local directory, so that I can edit the dummy.c
> in my local directory. If I use "cvs update dummy.c",
> it won't change the read-only attribute. What is the
> GNU cvs command to check out a file for editing?
cvs doesn't work like that, to edit a file you just edit it, then type cvs
commit. As long as the file is in the directory, it is ready for editing. It
is done like this so that more than one person can have the same file
out and edit it at the same time (:
- Re: checkout, Y Hu, 2003/08/01
- Re: checkout,
Matthew Herrmann <=