https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-06-26T13:44:18ZRedmineRedmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=502372013-06-26T13:44:18ZToshi MARUYAMA
<ul><li><strong>Subject</strong> changed from <i>hg commit ids not supported</i> to <i>Mercurial commit ids are short (12 chars) on database</i></li></ul> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=502382013-06-26T13:51:01ZToshi MARUYAMA
<ul><li><strong>Target version</strong> set to <i>2.4.0</i></li></ul> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=502402013-06-26T15:25:31ZToshi MARUYAMA
<ul><li><strong>File</strong> <a href="/attachments/9984">long-node.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9984/long-node.diff">long-node.diff</a> added</li></ul><p>Try this patch.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=502442013-06-26T17:36:56ZToshi MARUYAMA
<ul><li><strong>File</strong> <a href="/attachments/9985">long-node-v2.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9985/long-node-v2.diff">long-node-v2.diff</a> added</li></ul><p>This patch fixes some bugs of previous patch.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=502842013-06-28T12:41:35ZClaudio Bley
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>This patch fixes some bugs of previous patch.</p>
</blockquote>
<p>It works great. Thank you very much!</p>
<p>One last thing though, would it be possible to shorten the link text to 12 (or even less) chars when on display? Maybe display it like</p>
<p><a href="http://redmine/issue/5cc4b7a919f501a49479f501a494749209484ad3" class="external">5cc4b7a919f5…</a></p>
<p>As a human a 40 chars hex number is just not something one can grasp, usually.</p>
<p>For example git uses 7 digits by default (more when there's a conflict), and bitbucket also displays 7 digits in its web interface.</p>
<p>Should I add a new ticket about this?</p>
<p>Thanks, again.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=507322013-07-23T20:43:57ZMischa The Evil
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Confirmed</i></li></ul><p>Correcting status; this is not yet committed.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=524802013-10-13T08:02:51ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Assignee</strong> set to <i>Toshi MARUYAMA</i></li></ul><p>Toshi, should we commit this for 2.4.0?</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=524812013-10-13T08:11:26ZToshi MARUYAMA
<ul><li><strong>Target version</strong> deleted (<del><i>2.4.0</i></del>)</li></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>Toshi, should we commit this for 2.4.0?</p>
</blockquote>
<p>Sorry, I don't have a time.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=524822013-10-13T08:13:12ZToshi MARUYAMA
<ul></ul><p>My patch breaks some tests and need to add more tests.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=524842013-10-13T08:14:38ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>OK no problem, thanks.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=546072014-01-31T15:34:38ZClaudio Bley
<ul><li><strong>File</strong> <a href="/attachments/11065">redmine_hg_long_ids_tests.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/11065/redmine_hg_long_ids_tests.diff">redmine_hg_long_ids_tests.diff</a> added</li></ul><p>Hi.</p>
<p>Just wanted to check in on you whether you made some progress on this one?</p>
<p>I tried the patch on the latest release and it still applies perfectly.</p>
<p>I'm attaching a patch which removes one minor nit and also fixes all the failing tests.</p>
<p>Hope you get to include this into the next release... :)</p>
<p>Cheers.</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=546132014-02-01T07:31:12ZToshi MARUYAMA
<ul><li><strong>Subject</strong> changed from <i>Mercurial commit ids are short (12 chars) on database</i> to <i>Mercurial commit ids are short (12 digits) on database</i></li></ul> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=546252014-02-03T02:49:25ZToshi MARUYAMA
<ul><li><strong>Target version</strong> set to <i>2.5.0</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=549902014-02-23T08:21:17ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Toshi, can we close this one?</p> Redmine - Defect #14361: Mercurial commit ids are short (12 digits) on databasehttps://www.redmine.org/issues/14361?journal_id=549912014-02-23T08:48:08ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>In repository which created before 2.4, commit id length keeps 12 digits.<br />New repository which created after 2.5, commit id length is full (40 digits).</p>