info-cvs
[Top][All Lists]
Advanced

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

Adding Files to a New Directory to the Repository


From: John Smith
Subject: Adding Files to a New Directory to the Repository
Date: 3 Mar 2006 07:08:16 -0800
User-agent: G2/0.2

Let's say currently in my repository, I have D1, D2, and D3.  In my
working directory, I have checked out D1 as a module.  I now want to:

1) add file F1 to a new directory D4 into the repository
2a) get a list of names of directories in the CVS repository
2b) get a list of names of file names F1, F2, ... Fn of a directory D2
in the CVS repository
3) check out a single file, not a module?

I have tried:
 cvs -H checkout
Usage:
  cvs checkout [-ANPRcflnps] [-r rev] [-D date] [-d dir]
    [-j rev1] [-j rev2] [-k kopt] modules...
        -A      Reset any sticky tags/date/kopts.
        -N      Don't shorten module paths if -d specified.
        -P      Prune empty directories.
        -R      Process directories recursively.
        -c      "cat" the module database.
        -f      Force a head revision match if tag/date not found.
        -l      Local directory only, not recursive
        -n      Do not run module program (if any).
        -p      Check out files to standard output (avoids stickiness).
        -s      Like -c, but include module status.
        -r rev  Check out revision or tag. (implies -P) (is sticky)
        -D date Check out revisions as of date. (implies -P) (is
sticky)
        -d dir  Check out into dir instead of module name.
        -k kopt Use RCS kopt -k option on checkout. (is sticky)
        -j rev  Merge in changes made between current revision and rev.

but any help to #1 - #3 will be appreciated.



reply via email to

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