errorCollector.assertEquals(srcClog.getRevision(bm2Local), srcBookmarks.getRevision(bm2));
errorCollector.assertEquals(srcClog.getRevision(bm3Local), srcBookmarks.getRevision(bm3));
errorCollector.assertEquals(null, srcBookmarks.getRevision(bm4));
errorCollector.assertEquals(srcClog.getRevision(bm_4_5), srcBookmarks.getRevision(bm5));
// now, check remote bookmarks were touched
HgRepository dstRepo = hgLookup.detect(dstRepoLoc);
HgBookmarks dstBookmarks = dstRepo.getBookmarks();
final HgChangelog dstClog = dstRepo.getChangelog();
// bm1 changed and points to newly pushed commit.
// if the test fails (bm1 points to r8), chances are server didn't manage to update
// bookmarks yet (there's Thread.sleep() above to give it a chance).