Sheldon Samuels writes [in one very long line]:
> 

> Is it possible to add a file to a branch other than the main branch,
> without first adding it to the main branch?

I can't speak to WinCVS, but with CVS if your working directory was
checked out on a branch, any files you add will be added on the branch
rather than on the main trunk:

        $ cvs up -r BRANCH  # switch to branch
        cvs update: Updating .
        $ echo foo4 >foo4
        $ cvs add foo4
        cvs add: scheduling file `foo4' for addition on branch `BRANCH'
        cvs add: use 'cvs commit' to add this file permanently
        $ cvs ci -m test
        cvs commit: Examining .
        RCS file: /public/CVS/foo/Attic/foo4,v
        done
        Checking in foo4;
        /public/CVS/foo/Attic/foo4,v  <--  foo4
        new revision: 1.1.2.1; previous revision: 1.1
        done
        $ cvs up -A  # go back to trunk
        cvs update: Updating .
        cvs update: warning: foo4 is not (any longer) pertinent

> Also, can someone point me to the CVS Mailing list archives?

See ftp:[EMAIL PROTECTED] or http://www.egroups.com.

-Larry Jones

Somebody's always running my life.  I never get to do what I want to do.
-- Calvin

Reply via email to