[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 31 Jul 2003 21:30:37 -0700 (PDT)
The file dummy.c is really in the server depository
(it is not a real file name, just for example here).
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?
--- Mark Priest <address@hidden> wrote:
> When you use the checkout command you are requesting
> to check out a module
> from the repository and create a working directory.
> Unless you actually
> have a module called dummy.c, which would be a poor
> name for a directory,
> then this command should have always failed.
> If you are using update and status then you must
> already have a working
> directory in which case you probably don't want to
> use checkout since it
> might cause you to lose changes in your working
> If you want to use checkout you should be creating a
> new working directory.
> In general, the module name for a project is the
> same as the top-level
> directory for that project under the cvs repository
> root directory. If you
> have access to the repository machine check to see
> what the top-level
> directory is that contains dummy.c and use that with
> the checkout command.
> ----- Original Message -----
> From: "Y Hu" <address@hidden>
> To: <address@hidden>
> Sent: Thursday, July 31, 2003 10:59 PM
> Subject: Re: checkout
> > Hi,
> > I've been using GNU CVS for a while on and off. In
> > last project, I used the the cvs command such as
> > co dummy.c" for editing the file.
> > Now, in my new project, the "cvs co dummy.c" gave
> > an error "cvs server: cannot find module `dummy.c'
> > ignored, cvs [checkout aborted]: cannot expand
> > modules" despite that "cvs update dummy.c", "cvs
> > status dummy.c" all works. Can anyone help me what
> > am missing here for cvs co command and how can I
> > it?
> > Thank you.
> > yh
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software