Mercurial > hg-git
view .hgtags @ 999:a128b9a53b5a
revset_gitnode: allow abbreviated hashes
The previous implementation only allowed passing 40-hexdigit hashes or
12-hexdigit abbreviations to `gitnode(hash)`. Shorter or longer hashes
were accepted, but failed silently. With this fix, any unambiguous
abbreviation is accepted. `gitnode(a5b)` selects the revision whose Git hash
starts with `a5b`, if there is one, and aborts if there are several.
author | Sietse Brouwer <sbbrouwer@gmail.com> |
---|---|
date | Thu, 06 Oct 2016 10:11:14 +0200 |
parents | 4006f2a59058 |
children | fd9ff03e200e |
line wrap: on
line source
505d7cdca19838bfb270193e0709154a2dad5c19 0.1.0 77d6c9eb02fb96abb6a933170a912e94e3141f22 0.2.0 21ead8190d9c5f2a5a7500bab1d89b5373eda040 0.2.1 a222399a59d7a960f9ac41b89d3d0041bdf3e78c 0.2.2 5d39b98e5083a0897328f97c4c9795e64d45aac8 0.2.3 b53421918a89a20f35dc6b6c3974234fe45a5512 0.2.4 bc72dd89c2c911b3b844bd6a1e3841ca16cec59c 0.2.5 46d390f404da3add53c1f8de91216388f791cd82 0.2.6 fa3edeec7ed16dec6a16bd3e99bc3feba93115c3 0.3.0 556c3c586c4aa52f587ccc4d2d65b370a7e9037f 0.3.1 a9c0b93488d4d082f813c6d91c8e473505a026c4 0.3.2 9d44dafbb31c14126be151b78c7a41b3c110fd97 0.3.3 586b7aa9646641b3b1083ab349bb186c79aa646b 0.3.4 a3c3b8077cbeec7c381a4b312d722d575a738610 0.4.0 ef41e87ea11afdabfa6583e2c86dec375c67b2a4 0.5.0 9f20b66027c259e498a96454cf4c380e9440d769 0.6.0 f67747f18f20e97eff459aa24a70a23a2b3730a9 0.6.1 fc63d0e2653d3601dcc6e1adb99c13813cefae98 0.7.0 cf3dafce0611cf940945fdedb4cf5cb1091bc30c 0.8.0 e6489cf3fe8c204ad62846ba7755445755814330 0.8.1 e183fdc198f01affa094d15e6587a74de4eb063a 0.8.2 93d70993447c49d180a9c5d0ef130620fc956e33 0.8.3 d7ad67f850b279c1c3caa8349d4a47cf626e6f9a 0.8.3 22a12bf143a386f0a0be2bceb9ce1e42b1b27dd7 0.8.4 53d514c9c7e6ac99e2c4d6df6c520a7db1e63d7f 0.8.5