[PATCH 3 of 3] hgk: use switch instead of a less efficient if/elseif/if

Andrew Shadura andrew at shadura.me
Tue Mar 31 15:50:14 CDT 2015


Hello,

On Tue, 31 Mar 2015 13:21:19 -0700
Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:

> On 03/29/2015 10:18 AM, Andrew Shadura wrote:
> > # HG changeset patch
> > # User Andrew Shadura <andrew at shadura.me>
> > # Date 1427649304 -7200
> > #      Sun Mar 29 19:15:04 2015 +0200
> > # Node ID dda00b516e548b41b12b7e591a1595ee230b2862
> > # Parent  277dbd26cb26103d856bc76ebe5a33029edca4dc
> > hgk: use switch instead of a less efficient if/elseif/if

> I'm curious about the result of this series. Do you have picture of
> it anywhere?

Here's a screenshot:

https://dl.dropboxusercontent.com/u/41275960/hgk.png

Unfortunately, currently Tk doesn't do antialiasing for canvas, so it's
not that pretty as it could be :)

-- 
Cheers,
  Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150331/e98e20c2/attachment.pgp>


More information about the Mercurial-devel mailing list