Skip to contentSkip to conversation

Downloaded patches text format

lm-sensors Jean Delvare 2 participants 2 messages Jun 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi Axel,

When downloading patches from trac's source tree browser, I get files in DOS (CR+LF) text format, instead of the expected UNIX (LF) text format. "patch" complains about that. Is it possible to tweak trac to provide the patches in UNIX text format directly?

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Hi,

Quoted 4 lines · Jean Delvare

When downloading patches from trac's source tree browser, I get files in DOS (CR+LF) text format, instead of the expected UNIX (LF) text format. "patch" complains about that. Is it possible to tweak trac to provide the patches in UNIX text format directly?

Hm, it looks like it's hardcoded :(

               req.write('--- %s (revision %s)' % old_node_info + CRLF)
Signature · 1 line
Axel.Thimm at ATrpms.net

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors