On Sat, Aug 31, 2002 at 09:40:00AM +1000, Matthew Herrmann wrote:
> you are working on a project with files called *.doc, some containing text
> and some containing binary. People have complained they don't like adding
> the -kb and many get it wrong.
>
> do you
> b) say "well from now on don't call your text files *.doc, call them *.txt"
> [ugly options snipped]
That, *and* add a cvswrappers entry so that *.doc -- or better,
*.[dD][oO][cC] -- will be binary by default, because that fails
*much* safer than defaulting to text. If you accidentally check
in a text file as binary, the recovery's fairly easy -- use "cvs
admin" to frob the -k setting, then, if necessary, fix the
newlines and check in a new rev.
But if (on a non-UNIX system) you accidentally check in a binary
file as text, the version in the the repo is very likely garbage
-- and so might be the version in your sandbox, if the file
happens to contain something that looks like a CVS keyword.
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. [EMAIL PROTECTED]
| | /
[...] despite reports to the contrary, it is the rare programmer who
permanently loses his sanity while coding ("permanently" being the
operative word).
- Eric E. Allen
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs