Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Tony Hoyle
Arkadiusz Miskiewicz wrote: > On Thursday 23 of October 2008, Arthur Barrett wrote: >> Arkadiusz, > >> Yes there is it's "-kb", I wrote that in a later message but maybe you >> thought it was a duplicate since it was mostly a cut&paste, I just >> changed -kD to -kb. > > Yeah, -kb is a solution. N

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arkadiusz Miskiewicz
On Thursday 23 of October 2008, Arthur Barrett wrote: > Arkadiusz, > Yes there is it's "-kb", I wrote that in a later message but maybe you > thought it was a duplicate since it was mostly a cut&paste, I just > changed -kD to -kb. Yeah, -kb is a solution. Not sure how cvs stores such data in rcs

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arthur Barrett
Arkadiusz, > In short: we keep spec + patches but fetch tarballs from > remote locations like > http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz > > Now what if source code files in cvsnt-*.tar.gz had crlf line > endings? Our > patches for cvsnt would need crlf endings - otherwise > a

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arkadiusz Miskiewicz
On Thursday 23 of October 2008, Arthur Barrett wrote: > Arkadiusz, > > > The problem happens when I want to commit file (that file is > > a patch) with > > crlf line endings but cvsnt converts that to lf thus breaking > > the patch file. > > > > Now you could ask why the patch has crlf line endings

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arthur Barrett
Arkadiusz, > In my case you have no idea what line ending you may want > before looking > inside a file This is unusual. It sounds as though it is not you who creates these files and whoever is creating them is either creating them with random line endings which puts you in an impossible situ

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arthur Barrett
Arkadiusz, > The problem happens when I want to commit file (that file is > a patch) with > crlf line endings but cvsnt converts that to lf thus breaking > the patch file. > > Now you could ask why the patch has crlf line endings inside. > That's because > source files that the patch is goin

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arkadiusz Miskiewicz
On Thursday 23 of October 2008, Luigi D. Sandon wrote: > CVSNT should allow to use -kL to checkout always files with a LF line > ending, -kD to always use CR/LF, or -kM to use CR only. Never used myself, > though. In my case you have no idea what line ending you may want before looking inside a f

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arkadiusz Miskiewicz
On Thursday 23 of October 2008, Arthur Barrett wrote: > Arkadiusz, > > > How to disable line endings translations ? It's very annoying feature > > especially when trying to commit patches into cvs repository > > (changed line > > endings == patch no longer applies). > > It sounds as though you are

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Arthur Barrett
Arkadiusz, > How to disable line endings translations ? It's very annoying feature > especially when trying to commit patches into cvs repository > (changed line > endings == patch no longer applies). It sounds as though you are trying to use a unix/linux patch tool on windows or mac. Use a n

Re: [cvsnt] how to disable line ending translations?

2008-10-23 Thread Luigi D. Sandon
CVSNT should allow to use -kL to checkout always files with a LF line ending, -kD to always use CR/LF, or -kM to use CR only. Never used myself, though. -- Luigi D. Sandon ___ cvsnt mailing list cvsnt@cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/

Re: [cvsnt] how to disable line ending translations?

2008-10-22 Thread Bo Berglund
On Wed, 22 Oct 2008 21:20:43 +0200, Arkadiusz Miskiewicz <[EMAIL PROTECTED]> wrote: > >How to disable line endings translations ? It's very annoying feature >especially when trying to commit patches into cvs repository (changed line >endings == patch no longer applies). What kind of files are yo

[cvsnt] how to disable line ending translations?

2008-10-22 Thread Arkadiusz Miskiewicz
How to disable line endings translations ? It's very annoying feature especially when trying to commit patches into cvs repository (changed line endings == patch no longer applies). I know about -kb (but this can be used only when adding new file). -- Arkadiusz MiƛkiewiczPLD/Linux Team