[LLVMdev] Small patch for visual studio project files
Jeff Cohen
jeffc at jolt-lang.org
Mon Nov 8 07:49:59 PST 2004
No, projects files are text files and should be treated as text files.
This is a non-problem when the correct version of CVS is used. The
moral here is never use a binary that relies on Unix emulation when
there's a native Windows version available.
On Mon, 08 Nov 2004 07:46:57 -0800
Reid Spencer <reid at x10sys.com> wrote:
> 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
>
More information about the llvm-dev
mailing list