Re: [viewvc-users] Colored side-by-side diffs
"C. Michael Pilato" <[email protected]> Tue, 5 Jan 2016 10:20:01 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <CAFVDjdxxqtrjUtBZ1XoeTKptrjhNYrQwU+vW7K3KuT02C9+cSg__33429.166119504$1452007223$gmane$org@mail.gmail.com> |
------=_Part_7335_843152372.1452007205728 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ah, yes. I think CollabNet's ViewVC template set chooses to show colored diffs more like the unidiff format than the side-by-side approach. You could probably replace the logic in that template (diff.ezt) with the stock logic from templates that ship with ViewVC by default. On Mon, Jan 4, 2016 at 1:21 PM, Robert Wikman <[email protected]> wrote: > Hello, > > Thank you for your response. > I'm referring to the background color of relevant lines in side-by-side > diffs, instead of or as a complement to the < | > characters. It's kind of > hard to get a good overview without affected lines colorized. > I've never used the "vanilla" version of Viewvc. Perhaps the version > bundled with Collabnet SVN Edge doesn't support this? > > It's stated on the Viewvc feature list that it supports 'Colorized, > side-by-side differences'. > > Thanks, > Robert > > > > > On Mon, Jan 4, 2016 at 2:29 PM, C. Michael Pilato <[email protected]> > wrote: > >> Robert, >> >> Color in used in different ways in ViewVC, so I need to understand a bit >> better what you were expecting to see. Color in the "colored diff" sense >> (which just means that reds, greens, and yellows are used to indicate >> removed/added/changed lines), or color in the "syntax highlighting" sense? >> ViewVC doesn't support syntax coloration in the diff views at all. And only >> the diff types that say "colored" will be ... colorful ("Colored Diff", >> "Long Colored Diff", "Full Colored Diff", ...). >> >> Does that help? >> >> -- Mike >> >> On Thu, Dec 17, 2015 at 9:13 AM, Robert Wikman <[email protected]> wrote: >> >>> Hello, >>> >>> I'm using viewvc (version 1.1.20) that comes with CSVN, and I'm not >>> getting color in my side-by-side diffs. Any ideas? >>> >>> Regards, >>> Robert >>> >> >> > ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3153740 To unsubscribe from this discussion, e-mail: [[email protected]]. ------=_Part_7335_843152372.1452007205728 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Ah, yes.=C2=A0 I think CollabNet's ViewVC template set= chooses to show colored diffs more like the unidiff format than the side-b= y-side approach.=C2=A0 You could probably replace the logic in that templat= e (diff.ezt) with the stock logic from templates that ship with ViewVC by d= efault.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On M= on, Jan 4, 2016 at 1:21 PM, Robert Wikman <span dir=3D"ltr"><<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>></span> wr= ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border= -left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Hello,</div><d= iv><br></div><div>Thank you for your response.</div><div>I'm referring = to the background color of relevant lines in side-by-side diffs, instead of= or as a complement to the < | > characters. It's kind of hard to= get a good overview without affected lines colorized.<br></div><div>I'= ve never used the "vanilla" version of Viewvc. Perhaps the versio= n bundled with Collabnet SVN Edge doesn't support this?</div><div><br><= /div><div>It's stated on the Viewvc feature list that it supports '= Colorized, side-by-side differences'.<br></div><div><br></div><div>Than= ks,</div><div>Robert</div><div><br></div><div><br></div><div><br></div></di= v><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><br><d= iv class=3D"gmail_quote">On Mon, Jan 4, 2016 at 2:29 PM, C. Michael Pilato = <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail= _quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:= 1ex"><div dir=3D"ltr">Robert,<div><br></div><div>Color in used in different= ways in ViewVC, so I need to understand a bit better what you were expecti= ng to see. Color in the "colored diff" sense (which just means th= at reds, greens, and yellows are used to indicate removed/added/changed lin= es), or color in the "syntax highlighting" sense? ViewVC doesn= 9;t support syntax coloration in the diff views at all. And only the diff t= ypes that say "colored" will be ... colorful ("Colored Diff&= quot;, "Long Colored Diff", "Full Colored Diff", ...).<= /div><div><br></div><div>Does that help?</div><div><br></div><div>-- Mike</= div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu,= Dec 17, 2015 at 9:13 AM, Robert Wikman <span dir=3D"ltr"><<a href=3D"ma= ilto:[email protected]" target=3D"_blank">[email protected]</a>></span> wrot= e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l= eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello,<div><br></div>= <div>I'm using viewvc (version 1.1.20) that comes with CSVN, and I'= m not getting color in my side-by-side diffs. Any ideas?</div><div><br></di= v><div>Regards,</div><div>Robert</div></div> </blockquote></div><br></div> </blockquote></div><br></div> </div></div></blockquote></div><br></div> ------=_Part_7335_843152372.1452007205728--