Re: commit -- insert symbol shot


Subject: Re: commit -- insert symbol shot
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Thu Apr 20 2000 - 22:16:42 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 20 Apr 2000, Robert Sievers wrote:

yes, the shot works currently.

> Is the -kb tag on the add
> enough to take care of this?

yes

And if you forget the -kb on the add, what
> you can do to change it to binary?

<quote source="Version Management with CVS">
   If a file accidentally gets added without `-kb', one can use the cvs
admin command to recover. For
   example:

$ echo '$Id$' > kotest
$ cvs add -m"A test file" kotest
$ cvs ci -m"First checkin; contains a keyword" kotest
$ cvs admin -kb kotest
$ cvs update -A kotest
# For non-unix systems:
# Copy in a good copy of the file from outside CVS
$ cvs commit -m "make it binary" kotest

   When you check in the file `kotest' the file is not preserved as a
binary file, because you did not
   check it in as a binary file. The cvs admin -kb command sets the
default keyword substitution method
   for this file, but it does not alter the working copy of the file that
you have. If you need to cope
   with line endings (that is, you are using CVS on a non-unix system),
then you need to check in a new
   copy of the file, as shown by the cvs commit command above. On unix,
the cvs update -A command
   suffices.
</quote>

           
                                     sam th
                                     sytobinh@uchicago.edu
                                http://bur-jud-118-039.rh.uchicago.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4/8gbt+kM0Mq9M/wRAhNRAJ9gwgY6qjYHehWIuUOpJFVjd0CXKQCg2P4Q
XfObtVrKXDdDivPEeSQEsDk=
=dH3B
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Thu Apr 20 2000 - 22:16:41 CDT