java - How can I get all revisions (not latest) for a special file using SVNkit? -
I used a sample Java code to get a file's revision history, but only got one amendment. There are several amendments in the resume for this file. So how can I get all the amendments for this file at a time?
one ?? | Long starters display = -1; Long distance = 0; // head (i.e. latest) revision SVNRipository firing IMPL.setup (); Repository = SVN Repository Factor.Credit (SVN URL. From URI encrypted (url)); ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager (name, password); Repository.setAuthenticationManager (authManager); Collection log entries = null; LogEntries = repository.log (new string [] {"EJB.java"}, empty, initial, interstitial, true, true); Use 0 for the initial revision and 1 for the last revision
Comments
Post a Comment