• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting up CVS Server in 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up CVS Server in 10.2


  • Subject: Re: Setting up CVS Server in 10.2
  • From: Simon Stapleton <email@hidden>
  • Date: Thu, 29 Aug 2002 10:42:30 +0200

Subject: Setting up CVS Server in 10.2
From: Daniel Stark <email@hidden>
To: email@hidden

This has been discussed on this list before but I can't seem to be able
to get it working on my machine. I have followed the instructions at
both:

1. http://developer.apple.com/internet/macosx/cvsoverview.html
and
2. http://www.digitalspecter.com/cvs_expert.html

My results are:
1. I'm unable to get through the whole tutorial as written as when I
try to import "index.html" I get this message:
cvs [import aborted]: tag 'myproj/index.html' must not contain the
characters '$,.:;@'

Most of the files that I will be uploading will contain periods so this
is a big problem

This error does not appear to be a problem with the CVS server per se - it appears that you're using the 'import' command wrongly. The CVS server is happily responding to you, indicating that it is, indeed, running, and trying to import your files.

[localhost:~] simon% cvs --help import
Usage: cvs import [-d] [-k subst] [-I ign] [-m msg] [-b branch]
[-W spec] repository vendor-tag release-tags...
-d Use the file's modification time as the time of import.
-k sub Set default RCS keyword substitution mode.
-I ign More files to ignore (! to reset).
-b bra Vendor branch id.
-m msg Log message.
-W spec Wrappers specification line.
(Specify the --help global option for a list of other help options)

If you're trying to add a single file to CVS, I suggest that you may be using CVS wrongly - import is typically used to import extant directories to CVS as new modules, not to add single files to a module. for single files you want `cvs add`.

i.e. (assuming you have an extant, non-CVScontrolled directory called MyProject, want to import the whole directory and tag it with the 'initial' tag with a vendor tag of 'tufty' (that's the one I always use, you may well want a different one ;-)

cvs import -m "initial import" MyProject initial tufty
(do some editing to cvs' control files to declare the module, if you like)
rm -rf MyProject
cvs co MyProject

then we may want to add new files to the project, like so.

cd MyProject
touch newFile.txt
cvs add -m "new file added" newFile.txt
cvs commit

CVS can be very mysterious. Read all the docs. Don't forget `cvs --help`

I'd recommend having a look at Sen:te's 'CVL', which is a rather nice graphical front end to CVS, although I'm not sure it's running under 10.2 yet.

Simon

--
PGP Key Id : 0x50D0698D
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • OpenPlay on 10.2
      • From: Owen Anderson <email@hidden>
  • Prev by Date: gcc 3.1 produce slower code?
  • Next by Date: NSSplitView
  • Previous by thread: Re: Setting up CVS Server in 10.2
  • Next by thread: OpenPlay on 10.2
  • Index(es):
    • Date
    • Thread