private void testCommandLine( String scmUrl, ScmBranch branch, ScmVersion startVersion, ScmVersion endVersion, String commandLine )
throws Exception
{
ScmRepository repository = getScmManager().makeScmRepository( scmUrl );
GitScmProviderRepository gitRepository = (GitScmProviderRepository) repository.getProviderRepository();
Commandline cl = GitChangeLogCommand.createCommandLine( gitRepository, workingDirectory, branch, null, null,
startVersion, endVersion );
assertCommandLine( commandLine, workingDirectory, cl );