long revisionFromChange(String changeOutput) {
        Pattern pattern = Pattern.compile("^Change (\\d+) ");
        Matcher matcher = pattern.matcher(changeOutput);
        if (matcher.find()) {
            String changeNumber = matcher.group(1);
            return Long.parseLong(changeNumber);
        }
        throw bomb("Unable to parse revision from change: '" + changeOutput + "'");
    }
@Test
    void shouldRetrieveRevisionFromChangesOutput() {
        String output = "Change 2 on 2008/08/19 by cceuser@connect4 'some modification message'";
        long revision = parser.revisionFromChange(output);
        assertThat(revision).isEqualTo(2L);
    }