[LLVMdev] Small patch for visual studio project files

Reid Spencer reid at x10sys.com
Mon Nov 8 07:46:57 PST 2004


We could also do the "cvs admin -kb" thing on all the project files so
that cvs won't do keyword expansion or line ending conversion.

Thoughts?

Reid.

On Mon, 2004-11-08 at 07:36, Jeff Cohen wrote:
> You have to use a version of CVS that's specifically built for Windows. 
> You can find prebuilt Windows binaries at cvshome.org.  The cygwin
> supplied CVS no doubt thinks it's running on Unix, so naturally it won't
> convert line endings.
> 
> 
> On Mon, 08 Nov 2004 16:23:30 +0100
> Morten Ofstad <morten at hue.no> wrote:
> 
> > Jeff Cohen wrote:
> > 
> > > Are you sure your CVS is configured correctly?  On Windows, CVS
> > > automatically converts between LF and CR/LF line endings.  I sent a
> > > patch to remove all CRs from the repository because when I checked out
> > > the files on Windows, every line had two CRs and a single LF.  When VS
> > > saved a modified project file, the extra CR went away, causing every
> > > line to diff.
> > 
> > I'm using the cygwin cvs which doesn't add any CR when checking out.. so 
> > I'm getting the version with only LF and when VS saves a modified 
> > project file every line diffs... I don't see any option to cvs to tell 
> > it how to handle line endings, so I don't know how to fix this.
> > 
> > m.
> > 
> > 
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041108/9c4c3ca0/attachment.sig>


More information about the llvm-dev mailing list