[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spaces added
From: |
Laine Stump |
Subject: |
Re: Spaces added |
Date: |
20 Jan 2001 01:51:42 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
> From: "Laine Stump" <address@hidden>
> > I've also had good luck just running a dos2unix utility over the ,v
> > file in the repository - make a backup first, though, as I might have
> > just been lucky!
> >
"David L. Martin" <address@hidden> writes:
> Yeow!
> I guess that would work on the ,v files, if they're known to be ASCII files.
> I would typically run dos2unix on the affected file and commit to
> provide unix linefeed termination on the tip revision.
The only problem with that is you lose often-useful information in the
output of cvs annotate (if the files have been around for any length
of time). I converted the ,v files of an entire project with a year's
worth of history, and encountered no problems. (I only did this for
the ,v files associated with ASCII files, of course).
> I finally got so tired of doing this whenever someone used an editor that
> added ^M at the end of line that I added a script to commitinfo to check
> for end-of-line ^M and reject the commit if present for certain file types.
That's a good idea!