void () { Url repoRootURL = myInfo.getRepositoryRootUrl(); String relativeUrl = getRelativeUrl(repoRootURL, myUrl); if (myPI != null) { myPI.setText2(message("progress.text2.changes.establishing.connection", myUrl.toDecodedString())); } final Revision pegRevision = myInfo.getRevision(); final Target target = Target.on(myFile.getIOFile(), myPeg); try { myVcs.getFactory(target).createHistoryClient().doLog( target, myFrom == null ? Revision.HEAD : myFrom, myTo == null ? Revision.of(1) : myTo, false, true, myShowMergeSources && mySupport15, myLimit, null, new MyLogEntryHandler(myVcs, myUrl, pegRevision, relativeUrl, myConsumer::consume, repoRootURL)); } catch (VcsException e) { myException = e; } }