[cvsnt] import command - and comments

pdfeeny at aep.com pdfeeny at aep.com
Thu Mar 26 19:04:43 GMT 2009


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.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.



cvsnt-bounces at cvsnt.org 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
> >
> > cvsnt-bounces at cvsnt.org 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
> >> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> >> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> >>
> >> Upgrade to CVS Suite for more features and support: http://march-
> >> hare.com/cvsnt/
> >
> >
> 
> 
> The highest achievement possible is compassion.
> 
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 
> Upgrade to CVS Suite for more features and support: http://march-
> hare.com/cvsnt/



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook