Annotate and View links in Repository

Replies (4)

RE: Annotate and View links in Repository - Added by Brian Palmer almost 10 years ago

Maybe upgrade Redmine? You'll only see Annotate and View links for text files, and Redmine didn't consider php files to be text until r1070, from the looks of it. Check trunk/lib/redmine/mime_type.rb for details.

RE: Annotate and View links in Repository - Added by Brian Palmer almost 10 years ago

Ah, I should mention that the latest stable version (0.6.3) would have this patch in it, you'd have to 'upgrade' to trunk.

RE: Annotate and View links in Repository - Added by Jean-Philippe Lang almost 10 years ago

Annotate and View links are proposed for extensions that are associated to a mimetype like text/*
Extensions/mimetype mapping is defined in the file: /lib/redmine/mime_type.rb

You can add some more extensions in this file if you want.

RE: Annotate and View links in Repository - Added by Nils Adermann almost 10 years ago

Thanks to both of you. I'm on 0.6.3 (looking forward to a new stable release with all the changes in trunk ;-))

Editing the file solved my problem :) Btw. if you try to open annotate on an open file it says "Entry and/or revision doesn't exist in the repository." but that's probably not a real bug but the message could be a different one saying the file is empty ;-)

(1-4/4)