[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Can I check out a file without specifying the module it's in?
From: |
Noel Yap |
Subject: |
RE: Can I check out a file without specifying the module it's in? |
Date: |
Thu, 31 Oct 2002 13:10:13 -0800 (PST) |
I've been waiting for someone to point out that files
in the repo have a ,v suffix, but since noone has,
I'll do it ;-)
The command would be: find $CVSROOT -name foo.c,v
Anyway, that's beside the point. Directly accessing
the repo is bad etiquette :-)
I'm wondering if "cvs -n co" would act like a "ls" of
sorts. Nope, I get:
cvs server: in directory olf:
cvs [server aborted]: there is no version here; run
'cvs checkout' first
Oh well, there goes that idea. Does anyone know if
there's any reason why this shouldn't give the same
output as "cvs co"?
HTH,
Noel
--- "Daniels, Dave F [PCS]"
<address@hidden> wrote:
> It should be pointed out that this requires access
> to the server the CVS
> repository is on. I don't believe there's a way to
> do this with the CVS
> client.
>
> > -----Original Message-----
> > From: Zieg, Mark [mailto:address@hidden
> > Sent: Thursday, October 31, 2002 11:50 AM
> > To: 'address@hidden'; 'address@hidden'
> > Subject: RE: Can I check out a file without
> specifying the module it's
> > in?
> >
> >
> > > 1. Is there a way to checkout a file without
> knowing
> > exactly which module
> > > it's in?
> >
> > find $REPOSITORY -name fooglitz.c
> >
> > > I realize that this could lead to problems
> > > if there are (for some lame reason) multiple
> fooglitz.c files,
> > > but let's forget about that possibility right
> now.
> >
> > That's not exactly a "lame" scenario. You'll find
> an awful
> > lot of modules
> > -- and directories within a single module --
> containing files like
> > "Makefile", "main.c", "README", "index.html", etc.
> >
> > > 2. Is there a way to make the checkout
> non-case-specific?
> >
> > find $REPOSITORY | grep -i fooglitz.c
> >
> >
> >
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> >
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/