D3370: scmutil: introduce shortesthexnodeidprefix()

2018-04-14 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 8285. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3370?vs=8262&id=8285 REVISION DETAIL https://phab.mercurial-scm.org/D3370 AFFECTED FILES hgext/show.py mercurial/scmutil.py mercurial/templatefuncs.py C

D3370: scmutil: introduce shortesthexnodeidprefix()

2018-04-14 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe743b8524d60: scmutil: introduce shortesthexnodeidprefix() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3370?vs=8254&id

D3370: scmutil: introduce shortesthexnodeidprefix()

2018-04-14 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 8254. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3370?vs=8249&id=8254 REVISION DETAIL https://phab.mercurial-scm.org/D3370 AFFECTED FILES hgext/show.py mercurial/scmutil.py mercurial/templatefuncs.py C

D3370: scmutil: introduce shortesthexnodeidprefix()

2018-04-13 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We have scmutil.resolvehexnodeidprefix() for resolving a prefix to a full nodeid, so it makes sense to have the inverse method next to it. For now it just del