[tahoe-dev] Naming of darcs patch files

Zooko O'Whielacronx zooko at zooko.com
Wed Sep 29 05:08:28 UTC 2010


On Tue, Sep 28, 2010 at 7:20 PM, David-Sarah Hopwood
<david-sarah at jacaranda.org> wrote:
>
> That won't trigger syntax highlighting (contrary to what
> <http://tahoe-lafs.org/trac/tahoe-lafs/wiki/Patches> says). I suggest
> thing.darcs.patch.

Hmph. I tried this and you are right:

http://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/1212/1212.darcspatch.txt
http://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/1212/1212.darcs.patch

I don't know why, since our trac config file says:

[mimeviewer]
mime_map = text/x-darcspatch:dpatch:darcspatch:darcspatch.txt:dpatch.txt:darcs.txt:darcs.patch
pygments_modes = text/x-darcspatch:dpatch:10

(per http://trac.edgewall.org/wiki/TracIni#mimeviewer-section )

Perhaps ".txt" is a special case. Anyway, I've changed
<http://tahoe-lafs.org/trac/tahoe-lafs/wiki/Patches> to recommend
thing.darcs.patch. Thanks!

Regards,

Zooko


More information about the tahoe-dev mailing list