lotus

previous page: 89  Is there a tool to convert SCCS data to RCS format?
  
page up: Configuration Management Tools FAQno next page

90 Why do I get Ctrl-M characters in my CVS files?




Description

This article is from the Configuration Management Tools FAQ, by Dave Eaton dwe@arde.com with numerous contributions by others.

90 Why do I get Ctrl-M characters in my CVS files?

This seems to happen when a user checks out files from a UNIX
Server while using an MS Windows/NT client. On Windows and
Windows/NT lines are terminated with "\r\n", whereas on UNIX they
are terminated with "\n". On check-in, text files are converted
back to a platform neutral format (which happens to be newline
("\n") terminated). "make" programs that run under Windows/NT
should be able to handle the standard Windows text format in
makefiles. If you are moving the makefiles that you checked out
under Windows/NT to a UNIX system and trying to use them there, it
is likely to cause confusion. There are tools which can help you
swap the line endings as needed. Alternatively, if you check out
your source tree under Windows/NT, you should only use NT-based
tools in that working directory. Then, if you need to do work under
UNIX, check out another copy of your source tree on a UNIX system.

 

Continue to:













TOP
previous page: 89  Is there a tool to convert SCCS data to RCS format?
  
page up: Configuration Management Tools FAQno next page