info-cvs
[Top][All Lists]
Advanced

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

Re: export . but not get CVSROOT directory


From: Larry Jones
Subject: Re: export . but not get CVSROOT directory
Date: Thu, 14 Nov 2002 11:58:38 -0500 (EST)

Annette Waters writes:
> 
> Is there a way to be able to export . (cvs export -r blahblah -d blahblah .)
> and not export the CVSROOT repository?

I'm not sure why you'd want to export everything in the repository
except for CVSROOT, but you can do that by defining an alias module for
the root directory that excludes CVSROOT.  For example:

        top -a !CVSROOT .

Unfortunately, excluding directories doesn't work when you use -d, so
instead of the above you'd have to do:

        mkdir xxx
        cd xxx
        cvs export -r yyy top

-Larry Jones

I never get to do anything fun. -- Calvin




reply via email to

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