Mercurial > hg
comparison tests/test-rhg.t @ 46033:88e741bf2d93
rust: use NodePrefix::from_hex instead of hex::decode directly
This adds support for prefixes with an odd number of hex digits.
Differential Revision: https://phab.mercurial-scm.org/D9490
author | Simon Sapin <simon-commits@exyr.org> |
---|---|
date | Wed, 02 Dec 2020 15:00:49 +0100 |
parents | 8d6164098782 |
children | 0c02c2a0badb |
comparison
equal
deleted
inserted
replaced
46032:8d6164098782 | 46033:88e741bf2d93 |
---|---|
113 file-2 | 113 file-2 |
114 file-3 | 114 file-3 |
115 $ rhg cat -r cf8b83 file-2 | 115 $ rhg cat -r cf8b83 file-2 |
116 2 | 116 2 |
117 $ rhg cat -r c file-2 | 117 $ rhg cat -r c file-2 |
118 abort: invalid revision identifier c | 118 abort: ambiguous revision identifier c |
119 [255] | 119 [255] |
120 $ rhg cat -r d file-2 | |
121 2 | |
120 | 122 |
121 Cat files | 123 Cat files |
122 $ cd $TESTTMP | 124 $ cd $TESTTMP |
123 $ rm -rf repository | 125 $ rm -rf repository |
124 $ hg init repository | 126 $ hg init repository |