Diff export?

Status
Not open for further replies.

neuromaster

Ars Tribunus Militum
2,022
TLDR: I'm using KDiff3 integrated with TortoiseHg on a Windows PC for C/C++ development. Anyone know of an easy/free (or at least inexpensive) way to export diffs to something "pretty" like HTML? Most linux tools are right out :(

Explanation: Our software development infrastructure is... limited. At the moment people are doing code reviews by printing stuff out & marking it up with yellow/red highlighter for additions and deletions. I've only been here a few months & am only using TortoiseHg for "offline" dev; "official" stuff is kept in Visual SourceSafe. I'd really rather not print out & mark up stuff by hand, but I'm not really in a position where I feel comfortable advocating a large change in the way things are done around here.
 

Blacken00100

Ars Legatus Legionis
10,130
Subscriptor
I can't think of a good offline-software answer to your question (which is a profoundly shitty one to be forced to ask and your superiors should be summarily beaten with sticks), but ReviewBoard does run on Windows with a little bit of elbow grease, and I think it'll create printable diffs.

VSS _and_ hand code reviews. In 2011. Yebus.
 

Ardax

Ars Legatus Legionis
19,794
Subscriptor
If you don't mind exporting the diffs as patch files... there's Highlight:

Highlight converts source code to formatted text with syntax highlighting.

* Coloured output in HTML, XHTML, RTF, TeX, LaTeX, SVG, BBCode and XML format
* Supports 160 programming languages
* Includes 80 colour themes
* Recognizes nested languages
* Language definitions and themes are Lua scripts
* Plug-In interface to tweak syntax parsing and coloring
* CLI, GUI and Lib builds available
* Platform independent
 
Status
Not open for further replies.