Search in sources :

Example 1 with HgRepositoryLocation

use of org.zmlx.hg4idea.provider.HgRepositoryLocation in project intellij-community by JetBrains.

the class HgBrowseChangesTest method doTest.

private void doTest() throws HgCommandException, VcsException {
    CachingCommittedChangesProvider provider = myVcs.getCachingCommittedChangesProvider();
    assert provider != null;
    //noinspection unchecked
    List<CommittedChangeList> revisions = provider.getCommittedChanges(mySettings, new HgRepositoryLocation(myRepository.getUrl(), myRepository), -1);
    assertTrue(!revisions.isEmpty());
}
Also used : CommittedChangeList(com.intellij.openapi.vcs.versionBrowser.CommittedChangeList) CachingCommittedChangesProvider(com.intellij.openapi.vcs.CachingCommittedChangesProvider) HgRepositoryLocation(org.zmlx.hg4idea.provider.HgRepositoryLocation)

Aggregations

CachingCommittedChangesProvider (com.intellij.openapi.vcs.CachingCommittedChangesProvider)1 CommittedChangeList (com.intellij.openapi.vcs.versionBrowser.CommittedChangeList)1 HgRepositoryLocation (org.zmlx.hg4idea.provider.HgRepositoryLocation)1