[cvsnt] Re: Keyword Expansion
John Albrecht
albrecht_john at bah.com
Wed Feb 9 14:26:33 GMT 2005
Tony,
Thanks for response's to these questions on binary files. In response to my
question yesterday about binary files already in CVSNT, it sounds risky to
run CVS update -kB on them? Is there a high risk that they could get
corrupted or lose their history log?
Thanks,
John
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Tony Hoyle
Sent: Tuesday, February 08, 2005 3:06 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Re: Keyword Expansion
Trevor Leybourne wrote:
> Tony,
>
> I am wondering if I am missing something. You say that storing a PHP
> file as Binary will cause problems. Why? If it is being stored as
> binary is it not being stored byte-for-byte with no translation of any
> bytes? Does this have any effect on other file types?
Binary files are nonmergable, which means you can't realistically do
parallel development on them, or use branches. Also they don't
translate line endings... editing your file on Windows then checking
out on Unix will quite possibly cause the parser to barf on all the CRLF
pairs.
You should really only use binary for files that really are binary -
executables, graphics etc. where the nonmergablility is unavoidable.
Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list