| 98 | } |
| 99 | |
| 100 | void ReposWidget::setReposPath(const QString &path) |
| 101 | { |
| 102 | d->reposPath = path; |
| 103 | |
| 104 | d->logginDialog->setTitleText(LogginDialog::tr("loggin user from svn\nrepos path: %0") |
| 105 | .arg(d->reposPath)); |
| 106 | |
| 107 | QDirIterator dirItera(d->reposPath, QDir::Filter::NoDotAndDotDot|QDir::Dirs|QDir::NoSymLinks); |
| 108 | while (dirItera.hasNext()) { |
| 109 | dirItera.next(); |
| 110 | qInfo() << dirItera.filePath(); |
| 111 | d->watcher->addPath(dirItera.filePath()); |
| 112 | } |
| 113 | d->watcher->addPath(path); |
| 114 | d->fileSrcView->setRootPath(d->reposPath); |
| 115 | } |
| 116 | |
| 117 | void ReposWidget::loadRevisionFiles() |
| 118 | { |
no test coverage detected