# # # patch "ChangeLog" # from [6236903da0c31bb6e48a66dbae84b6c0b0fe7f5d] # to [003cab6be57dca29c808641ff100a5f4220a585e] # # patch "selectors.cc" # from [d0a7bf9c23c599de5785fbd9b65112bd09a0649d] # to [a552f1a49cccb48fa30faacf79550616e44a7f30] # # patch "tests/t_heads_of_certs.at" # from [e2ab8beb02a69e721c173cef0433c97023f07ef6] # to [c4eba5ef64458d236a48bb61b16f859fac040dd4] # ============================================================ --- ChangeLog 6236903da0c31bb6e48a66dbae84b6c0b0fe7f5d +++ ChangeLog 003cab6be57dca29c808641ff100a5f4220a585e @@ -1,3 +1,9 @@ +2005-10-14 Richard Levitte + + * selectors.cc (selectors): Rename h: to H: because another + development has emerged for h:. + * tests/t_heads_of_certs.at: Adapt. + 2005-10-12 Matt Johnston * monotone.cc: return with exit code of 2 on usage output ============================================================ --- selectors.cc d0a7bf9c23c599de5785fbd9b65112bd09a0649d +++ selectors.cc a552f1a49cccb48fa30faacf79550616e44a7f30 @@ -26,7 +26,7 @@ namespace selectors if (first_selector) { - if (sel[0] == 'h' && sel[1] == ':') + if (sel[0] == 'H' && sel[1] == ':') { get_heads = true; sel.erase(0,2); ============================================================ --- tests/t_heads_of_certs.at e2ab8beb02a69e721c173cef0433c97023f07ef6 +++ tests/t_heads_of_certs.at c4eba5ef64458d236a48bb61b16f859fac040dd4 @@ -19,12 +19,12 @@ AT_CHECK(MONOTONE cert $SECOND testcert AT_CHECK(MONOTONE cert $FIRST testcert 'value=with=equal=signs') AT_CHECK(MONOTONE cert $SECOND testcert 'value') -# Check that a log with no h: fails... +# Check that a log with no H: fails... AT_CHECK(MONOTONE log --revision 'c:testcert', [1], [ignore], [stderr]) AT_CHECK(grep 'has multiple ambiguous expansions' stderr, [0], [ignore]) -# Check that a log with h: succeeds... -AT_CHECK(MONOTONE log --revision='h:c:testcert', [], [stdout], [ignore]) +# Check that a log with H: succeeds... +AT_CHECK(MONOTONE log --revision='H:c:testcert', [], [stdout], [ignore]) # Note that if the third revision is in the log, something else is wrong... # There is really no case for this last test, just paranoia. AT_CHECK(grep $THIRD stdout, [1], [ignore], [ignore])