Register a domain and help support LQ
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-06-2004, 01:15 AM   #1
Registered: Jul 2004
Posts: 256

Rep: Reputation: 30
cvs keyword sustitution

I saw both "-kb" and "-ko" used to omit change in keyword subsititution.

what's the difference between the two? If my read correct some time ago, something to do with line feed?
Old 08-08-2004, 10:47 AM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
From "info cvs"
Generate the old keyword string, present in the working file just
before it was checked in. For example, for the `Revision'
keyword, generate the string `$Revision: 1.1 $' instead of
`$Revision: 5.7 $' if that is how the string appeared when the
file was checked in.

Like `-ko', but also inhibit conversion of line endings between
the canonical form in which they are stored in the repository
(linefeed only), and the form appropriate to the operating system
in use on the client. For systems, like unix, which use linefeed
only to terminate lines, this is very similar to `-ko'. For more
information on binary files, see *Note Binary files::. In CVS
version 1.12.2 and later `-kb', as set by `cvs add', `cvs admin',
or `cvs import' may not be overridden by a `-k' option specified
on the command line.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo (masked by: missing keyword) Jonatoon Linux - Software 7 01-07-2009 04:47 AM
c++ super keyword kuna Programming 4 01-04-2005 08:22 PM
Redhat: vi keyword highlights hamster Linux - General 8 04-30-2003 07:27 AM
keyword list loads only 73% marksstroud Linux - Distributions 2 06-11-2002 11:15 PM
Keyword list won't download fully. marksstroud Linux - Newbie 0 11-11-2001 06:11 PM

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration