How to print diffs?

View: New views
4 Messages — Rating Filter:   Alert me  

How to print diffs?

by Grant Edwards-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can't figure out any way to print the comparison output.  Am
I missing something?

--
Grant Edwards                   grante             Yow! Here I am at the flea
                                  at               market but nobody is buying
                               visi.com            my urine sample bottles ...

_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

Re: How to print diffs?

by Kai Willadsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/8/15 Grant Edwards <grant.b.edwards@...>:
> I can't figure out any way to print the comparison output.  Am
> I missing something?

You're not missing anything; Meld can't currently print out diffs. I
don't think anyone is working on this at the moment, but the first
step would be to decide what the printed output should look like. Feel
free to chime in on:
http://bugzilla.gnome.org/show_bug.cgi?id=141247

Kai
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

Re: How to print diffs?

by Grant Edwards-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-08-14, Kai Willadsen <kai.willadsen@...> wrote:
> 2009/8/15 Grant Edwards <grant.b.edwards@...>:
>> I can't figure out any way to print the comparison output. ??Am
>> I missing something?
>
> You're not missing anything; Meld can't currently print out
> diffs. I don't think anyone is working on this at the moment,
> but the first step would be to decide what the printed output
> should look like. Feel free to chime in on:
> http://bugzilla.gnome.org/show_bug.cgi?id=141247

I couldn't find anything else that would do what I wanted
either, so I ended up writing my own side-by-side diff utility
that generates output in either HTML or Postscript (via a2ps).
It's a bit limited in that it assumes there have been only line
changes and no line insertions or deletions (which is true for
my current usage).

If it would be helpful, I could attach that utility to the
above bug.

--
Grant Edwards                   grante             Yow! Are we THERE yet?
                                  at               My MIND is a SUBMARINE!!
                               visi.com            

_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

Re: How to print diffs?

by Vincent Legoll :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>> I can't figure out any way to print the comparison output. ?

Someone on this list hiinted about pygments

$ hg diff | pygmentize -l diff -f html
[1] http://pygments.org

maybe you could used something like that

--
Vincent Legoll
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list