Changes between Version 13 and Version 14 of Patches
- Timestamp:
- 2010-05-19T04:14:33Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Patches
v13 v14 7 7 {{{ 8 8 darcs record 9 darcs send -o WHAT.d arcspatch.txt9 darcs send -o WHAT.dpatch 10 10 }}} 11 11 12 12 And attach it to the ticket. 13 13 14 Please use a filename like *.txt (instead of *.patch or *.diff) so that Trac will let other 15 developers view it without first requiring them to download it first. (Trac's content-type logic maps 16 *.patch and *.diff to some application/blahblah MIME type, which it refuses to display as HTML) 14 Please use a filename like *.dpatch (instead of *.patch or *.diff) so that Trac will display it 15 with syntax highlighting instead of requiring people to download it to see it. 17 16 18 If you don't have darcs or don't want to use it, just attach a normal old diff. 19 20 == discussion == 21 22 If you have an actual diff (as opposed to a darcs patch created with 'darcs send'), then .diff is 23 good, because Trac knows how to render them. At least it does on the attachements I looked at 24 on #684 . I haven't checked to see what a darcs patch file attached with a .diff filename looks like, 25 I think it could get pretty ugly. 26 On the other hand, downloading the diff with "Download Original Format" gets a content-type which firefox 27 insists upon saving instead of displaying. I think I'm ok with that.. what I care about is being able to 28 review the change easily, and Trac's diff markup is pretty good. 29 -warner 17 If you don't have darcs just attach a normal old unified diff.