|
From: | Mike Ayers |
Subject: | Re: file type exported (unix/pc) |
Date: | Thu, 18 Jul 2002 09:36:21 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 |
pootle monster wrote:
When I update my files I find that the files that get to me are in PC format not unixI 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
[Prev in Thread] | Current Thread | [Next in Thread] |