> From: "Laine Stump" <[EMAIL PROTECTED]>
> > 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" <[EMAIL PROTECTED]> 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!

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

Reply via email to