Re: import command - and comments

[email protected]
Newsgroups gmane.comp.version-control.cvs.windows-nt.user
Message-ID <OF2E23ADFD.C9B6F0E0-ON85257585.00684B86-85257585.0068CD40@aep.com>
Mike,

1.  Is your CVSROOT really set to use username?
2.  Are you trying to import 3 modules at the same time?  I think these 
have to be done one at a time.  Also, cd into the directory you are 
importing as cvs will import all the files from the current directory.
3. Try using the -n flag before the -m flag.



[email protected] wrote on 03/26/2009 02:47:34 PM:

> I entered this:
> 
> set cvsroot=:sspi:username:/test
                    ^^^^^^^^
> 
> It seemed to work as I got no error messages.
> 
> Now I try the import command: cvs import -m "comments" mystuff/test WW 
start
> 
> Here is what I get:
> Invalid option -m
> 
> (now bald from pulling hair out)
> 
> Thanks.
> 
> 
> > Hi Mike,
> >
> > You can either specify the CVSROOT on the command line (cvs -d
> > :sspi:cvs-server:/repository) or set the CVSROOT environment variable 
(set
> > CVSROOT=:sspi:cvs-server:/repository).
> >
> > HTH
> >
> > Paul
> >
> > [email protected] wrote on 03/26/2009 01:55:56 PM:
> >
> >> To Bo and Paul - thank you so much for your replies to my posts. 
Newbies
> >> can be a pain - I understand.
> >>
> >> What I had to do with this CVS thing, is go backwards a few steps 
before
> >> moving forward. RTFM.  Even though the documentation is not well 
suited
> > to
> >> Windoze users, it really helped me understand what CVS is, what it
> > should
> >> do, and the basics of how to use it. More importantly - what we need 
it
> >> for and why we are going to use it.  I was operating under some
> >> misunderstandings about how CVS funtions.  I am not totally there yet 
of
> >> course, but working on it.
> >>
> >> I now have a repository setup and initialized. I can connect because 
I'm
> >> getting an error that says repository exists - but is empty - and of
> >> course it is empty because I have not imported anything into it yet.
> >>
> >> I am having trouble understanding the syntax of the import command.
> >>
> >> I have a directory with all the code in various subdirectories that I
> >> would like to CVS. Lets say this directory is c:\mystuff.
> >>
> >> My repository is under c:/cvsrepos/test.
> >>
> >> In a dos window I navigate to mystuff - then type the following:
> >> import -m "import code first time" mystuff/test WW start
> >>
> >> As I understand it - "import code first time" is simply a comment on 
the
> >> import - then should come what you would like to import - everything
> > under
> >> mystuff, then putting it into /test with the final two arguments 
being
> > the
> >> company initials or the Vtag and start a kind of default Rtag.
> >>
> >> I get the following error message:
> >> No CVS Root specified! Please use the -d option.
> >> CVS [import aborted]: or set the CVSROOT environment variable
> >>
> >> Any help appreciated.
> >>
> >> Later today I'm going to go get the O'Reilly CVS book.
> >>
> >> Thanks.
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> cvsnt mailing list
> >> [email protected]
> >> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> >>
> >> Upgrade to CVS Suite for more features and support: http://march-
> >> hare.com/cvsnt/
> >
> >
> 
> 
> The highest achievement possible is compassion.
> 
> _______________________________________________
> cvsnt mailing list
> [email protected]
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> 
> Upgrade to CVS Suite for more features and support: http://march-
> hare.com/cvsnt/

_______________________________________________
cvsnt mailing list
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.