summaryrefslogtreecommitdiff
path: root/src/plugins/mercurial/clonewizardpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/mercurial/clonewizardpage.cpp')
-rw-r--r--src/plugins/mercurial/clonewizardpage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/mercurial/clonewizardpage.cpp b/src/plugins/mercurial/clonewizardpage.cpp
index 33336b853d..430ebd5e92 100644
--- a/src/plugins/mercurial/clonewizardpage.cpp
+++ b/src/plugins/mercurial/clonewizardpage.cpp
@@ -45,13 +45,13 @@ CloneWizardPage::CloneWizardPage(QWidget *parent)
QString CloneWizardPage::directoryFromRepository(const QString &repository) const
{
- //mercurial repositories are generally of the form protocol://repositoryUrl/repository/
- //we are just looking for repository.
+ // Mercurial repositories are generally of the form protocol://repositoryUrl/repository/
+ // We are just looking for repository.
const QChar slash = QLatin1Char('/');
QString repo = repository.trimmed();
if (repo.endsWith(slash))
repo.truncate(repo.size() - 1);
- //Take the basename or the repository url
+ // Take the basename or the repository url.
return repo.mid(repo.lastIndexOf(slash) + 1);
}