info-cvs
[Top][All Lists]
Advanced

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

Re: directory not relative within the depository


From: Eric Siegerman
Subject: Re: directory not relative within the depository
Date: Wed, 2 Apr 2003 13:20:20 -0500
User-agent: Mutt/1.2.5i

On Wed, Apr 02, 2003 at 07:47:22AM -0700, jda wrote:
> This structure will be preserved when importing?

Yes.  To edit your example slightly, you're starting with a
newly-inited repo in /usr/local/cvs-repository, and project
source on a CD:
    /mnt/cdrom/Foo/
        package1Dir/
            foo1.java
            foo2.java
        package2Dir/
            foo3.java
            foo4.java


The (variant) commands I gave yesterday:
    cd /mnt/cdrom/Foo
    cvs import -m "Imported sources" MyProject/something/Foo MyCompany start  

will give you this in the repo:
    /usr/local/cvs-repository/
        CVSROOT/
            ...
        MyProject/
            something/
                Foo/
                    package1Dir/
                        foo1.java,v
                        foo2.java,v
                    package2Dir/
                        foo3.java,v
                        foo4.java,v

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
A distributed system is one on which I cannot get any work done,
because a machine I have never heard of has crashed.
        - Leslie Lamport




reply via email to

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