[Top][All Lists]

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

Re: import and checkout to same directory

From: Mark D. Baushke
Subject: Re: import and checkout to same directory
Date: Wed, 27 Oct 2004 11:46:17 -0700

Hash: SHA1

Stefan Schneider <address@hidden> writes:

> is it possible to make something like
> $ cd PROJECT
> $ cvs import -I <lotoffiles> PRO1 vendor release

No. The -I switch takes a single argument and is intended to be a file
glob like "*.o"

> $ cd ..
> $ cvs co -d PROJECT PRO1
> cvs checkout: existing repository /cygdrive/f/PROJECT does not match
> /cygdrive/f/CVS/PRO1
> cvs checkout: ignoring module PRO1

You would do better to create a copy of the PROJECT directory, prune all
of the files and directories you do not wish to import and import the

You will possibly want to script the removal and commit the script to
your repository to be used for the next vendor drop of code.
> This does actually not work. I cannot checkout to the directory where
> I have imported from. Normally I would prefer a solution where I
> rename the PROJECT directory after the import, then checkout and copy
> back the ignored files.
> In this case this does not work because the cygwin bash which contains
> cvs has been installed to a subdir of PROJECT (*argh*). In that
> moment, where I rename PROJECT, cvs does not work any longer without
> changing a lot of environment variables on a productive system!
> Installing WinCVS or something else is also not allowed (because it's
> a productive system).
> Any hints?
> Stefan
> PS: No, it was not me who installed this system :-)

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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