info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checkout


From: Matthew Herrmann
Subject: Re: checkout
Date: Sun, 3 Aug 2003 23:51:22 +1000

Hi Yu,

> 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?

Regards,

Matthew Herrmann
--------------------------------------
VB6/SQL/Java/CVS Consultancy
Far Edge Technology
http://www.faredge.com.au/

-----Original Message-----

Message: 4
Date: Fri, 1 Aug 2003 16:01:43 +1000
From: JacobRhoden <address@hidden>
Subject: Re: checkout
To: address@hidden, Mark Priest <address@hidden>,
        address@hidden
Message-ID: <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
checked
out and edit it at the same time (:







reply via email to

[Prev in Thread] Current Thread [Next in Thread]