[Top][All Lists]

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

Re: Importing problems

From: Larry Jones
Subject: Re: Importing problems
Date: Fri, 15 Jun 2001 11:58:50 -0400 (EDT)

Anette Van Aswegen writes:
> I have created a new module in the repository. When I import it, it imports
> all the other existing modules underneath the newly
> created one and runs for hours. This new module is suppose to be empty.

It sounds like you ran import in a directory that was already inside the
repository.  That is a major mistake -- import recursively copies a
directory tree into the repository, so there's never any reason to run
it inside the repository.  What release of CVS are you running?  Recent
releases wouldn't have allowed you to make that mistake.

To add an empty top-level directory to the repository, you should do the
following (somewhere outside the repository):

        mkdir temp      # make a scratch directory to work in
        cd temp         # change to it
        cvs co -l .     # check out the root of the repository w/o recursion
        mkdir newdir    # create the new directory
        cvs add newdir  # add it to the repository
        cd ..           # go back to the original directory
        rm -rf temp     # and clean up

-Larry Jones

There's never enough time to do all the nothing you want. -- Calvin

reply via email to

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