Homec4science

Expand abbreviated Mercurial hashes to full hashes

Authored by epriestley <git@epriestley.com> on Jan 3 2013, 15:01.

Description

Expand abbreviated Mercurial hashes to full hashes

Summary:
If you go to /rXnnnn in Git, we expand the hash. If you go to /rXnnnn in Mercurial, we give you a confusing error message.

Reconcile Mercurial behavior with Git. Fixes T2265.

Test Plan: Viewed partial hash, full hash commit in Diffusion. Viewed very short hash, got reasonable behaviors.

Reviewers: btrahan, tido

Reviewed By: tido

CC: aran

Maniphest Tasks: T2265

Differential Revision: https://secure.phabricator.com/D4330

Details

Committed
epriestley <git@epriestley.com>Jan 3 2013, 15:01
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0902543fc8c4: Port MySQL settings to PHP
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0ecfb75101ee: Expand abbreviated Mercurial hashes to full hashes (authored by epriestley <git@epriestley.com>).Jan 3 2013, 15:01