サンプルの Java コードを使用してファイルのリビジョン履歴を取得しましたが、取得したリビジョンは 1 つだけです。このファイルのリポジトリには多くのリビジョンがあります。では、このファイルのすべてのリビジョンを一度に取得するにはどうすればよいでしょうか?
…
long startRevision = -1;
long endRevision = 0; //HEAD (i.e. the latest) revision
SVNRepositoryFactoryImpl.setup();
repository = SVNRepositoryFactory.create( SVNURL.parseURIEncoded(url) );
ISVNAuthenticationManager authManager =
SVNWCUtil.createDefaultAuthenticationManager( name, password );
repository.setAuthenticationManager( authManager );
Collection logEntries = null;
logEntries = repository.log( new String[] { "EJB.java" }, null, startRevision,
endRevision, true, true );
…