public final static String getSvnVersionNumber(File file) throws SVNException {
SVNClientManager clientManager = SVNClientManager.newInstance();
return String.valueOf(clientManager.getStatusClient().doStatus(file, false).getRevision().getNumber());
}
SVNClientManager clientManager = SVNClientManager.newInstance();
return String.valueOf(clientManager.getStatusClient().doStatus(file, false).getRevision().getNumber());
}
Thanks, man!
ReplyDelete