@Nullable
 @Override
 protected HgRepository guessCurrentRepository(@NotNull Project project) {
   return DvcsUtil.guessCurrentRepositoryQuick(
       project,
       HgUtil.getRepositoryManager(project),
       HgProjectSettings.getInstance(project).getRecentRootPath());
 }
 @Override
 protected void rememberRecentRoot(@NotNull String path) {
   myProjectSettings.setRecentRootPath(path);
 }