Re: [sc-dev] TortoiseSVN and CrLf
Hi Regina, On Wednesday, 2009-03-25 21:58:46 +0100, Regina Henschel wrote: > I have looked around in the settings, but do not see such an option. It > seems to be possible to set a property to each single file, so that the > line end it forced to LF when committing the file. That would be only for the file's content, which if your editor doesn't fiddle around with line ends isn't necessary. > It does not cover the > use case of generating a patch for a folder. That setting is not > possible for a folder. But I'm not familiar with TortoiseSVN, so I don't > know whether such setting is possible somewhere. > > I can try to convert the line ends with an editor. Shall I attach such > converted patches to issue 100119, so that you can compare them and test > if it works? No, don't bother. Applying such a patch as is doesn't give me problems. It might when using other tools and/or Windows, but I don't, so ... Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks. pgp9km3lnnyKH.pgp Description: PGP signature
Re: [sc-dev] TortoiseSVN and CrLf
Hi Eike, Eike Rathke schrieb: Hi Regina, On Wednesday, 2009-03-25 14:22:17 +0100, Regina Henschel wrote: Thanks. I have updated my working copy using TortoiseSVN and hope that all is OK. You will tell me, if something is wrong with my next patches. :) Sure :) btw, which reminds me that I saw TortoiseSVN added a ^M carriage return in the status lines (Index, file names, line numbers), it didn't touch the code lines themself. I can see the different line ends in a hex editor. The GNU patch utility neatly skipped over that, mumbling something like "extraneous CRs ignored" or some such, but inferior tools may not, or on Windows be lead again to convert all line ends to CrLf, I don't know. Is there an option in TortoiseSVN to tell it to always produce sane LF line feeds only? I have looked around in the settings, but do not see such an option. It seems to be possible to set a property to each single file, so that the line end it forced to LF when committing the file. It does not cover the use case of generating a patch for a folder. That setting is not possible for a folder. But I'm not familiar with TortoiseSVN, so I don't know whether such setting is possible somewhere. I can try to convert the line ends with an editor. Shall I attach such converted patches to issue 100119, so that you can compare them and test if it works? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org For additional commands, e-mail: dev-h...@sc.openoffice.org
[sc-dev] TortoiseSVN and CrLf (was: Move ERF and ERFC from scaddins to sal)
Hi Regina, On Wednesday, 2009-03-25 14:22:17 +0100, Regina Henschel wrote: > Thanks. I have updated my working copy using TortoiseSVN and hope that > all is OK. You will tell me, if something is wrong with my next patches. > :) Sure :) btw, which reminds me that I saw TortoiseSVN added a ^M carriage return in the status lines (Index, file names, line numbers), it didn't touch the code lines themself. The GNU patch utility neatly skipped over that, mumbling something like "extraneous CRs ignored" or some such, but inferior tools may not, or on Windows be lead again to convert all line ends to CrLf, I don't know. Is there an option in TortoiseSVN to tell it to always produce sane LF line feeds only? Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks. pgpQy9U8ZDKTY.pgp Description: PGP signature