option('version', type : 'string', value : 'hg', description : 'The version to use if mercurial cannot be found')