[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Double spacing problem
From: |
Larry Jones |
Subject: |
Re: Double spacing problem |
Date: |
Fri, 13 Jun 2003 12:08:10 -0400 (EDT) |
Uri Abramov writes:
>
> MIME-Version: 1.0
Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE!
> I have CVS Server and several developers are working with it from
> their windows boxes, I imported package into cvs repository by moving
> source code from windows box of one of the developer into cvs server and
> executing cvs import command, after that every file from that package
> became double spacing when developers check them out into their windows
> boxes.
Since you didn't say what kind of a machine your CVS server is, I had to
consult my crystal ball. It tell me you're using a Unix-like system.
When you "moved the code" from the Windows box to the server, you didn't
convert the line endings from the Windows <CR><LF> to the Unix <LF>, so
all the <CR>s got put into the repository as data. Now when your
developers check them out, each line ends with <CR><CR><LF>, which
whatever they're using to display the files interprets as double
spacing.
You need to re-import the files correctly. The simplest thing to do is
to import them directly from the windows box rather than messing around
with moving them to the server first.
-Larry Jones
It's either spectacular, unbelievable success, or crushing, hopeless
defeat! There is no middle ground! -- Calvin