Re: file type exported (unix/pc)

2002-07-18 Thread Matt Riechers

pootle monster wrote:
 
 I am using CVS thru tortoise (http://www.tortoisecvs.org/)
 
 When I update my files I find that the files that get to me are in PC format
 not unix

The CVS client uses the native system's format for text files, so if you
use a PC client, you'll get PC-formatted files  with CRLFs. You should
use the same client as the platform you work on the files with. Crossing
clients and platforms like I assume you are doing (update on Windows,
work on UNIX) is just asking for trouble.

-Matt

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: file type exported (unix/pc)

2002-07-18 Thread Mike Ayers



pootle monster wrote:

 When I update my files I find that the files that get to me are in PC 
 format not unix
 
 I know its a minor problem, but its still bugging me
 I dont know whether this is an artefact of CVS or tortoise
 
 Is there an option so that I can choose Unix files?

It is neither a problem nor an artifact - CVS is giving you text files in the 
Windows format on a Windows machine - what else would you expect?

The problem is that you want them in a different format.  I don't know about 
TortoiseCVS, but WinCVS (www.cvsgui.org) permits checkout of text files with 
Unix line endings.  I do *not* know if it will properly check *in* those files 
after modification.  You can also use Cygwin, which has Unix line ends as the 
default in its CVS client.

*DANGER, WILL ROBINSON, DANGER!*  Be *very* careful which tools you use on 
these files before checking them back in, as most tools will convert the line 
endings to Windows style.  If you use Cygwin, it is best to write a little 
checkin script that runs dos2unix on text files before checkin.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs