@@ -1064,9 +1064,9 @@ def test_rev_parse(self):
|
1064 | 1064 | # TODO: Dereference tag into a blob 0.1.7^{blob} - quite a special one. |
1065 | 1065 | # Needs a tag which points to a blob. |
1066 | 1066 | |
1067 | | -# ref^0 returns commit being pointed to, same with ref~0, and ^{} |
| 1067 | +# ref^0 returns commit being pointed to, same with ref~0, ^{}, and ^{commit} |
1068 | 1068 | tag = rev_parse("0.1.4") |
1069 | | -for token in ("~0", "^0", "^{}"): |
| 1069 | +for token in ("~0", "^0", "^{}", "^{commit}"): |
1070 | 1070 | self.assertEqual(tag.object, rev_parse("0.1.4%s" % token)) |
1071 | 1071 | # END handle multiple tokens |
1072 | 1072 | |
|