<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8688" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Generate the same background colors for annotations on every invocation of the<br />
annotation bar, for consistent display.</p>

<p>Also generate the brush objects per revision only on-demand, no need to<br />
pregenerate all of them, as often the user only looks at the annotations for<br />
a smaller range.</p>

<p>Also fix the hash algorithm for VcsRevision class to generate proper hash<br />
values for all types. Before it would have generated a value of 0 for any<br />
string-based revision values, like e.g. used by the git vcs plugin.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>reproducableannotationcolor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8688" rel="noreferrer">https://phabricator.kde.org/D8688</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/vcs/models/vcsannotationmodel.cpp<br />
kdevplatform/vcs/vcsrevision.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>