Subversion: Do not treat all numbers in log/annotate as revisions

Be more picky about what we consider to be a revision.

Task-number: QTCREATORBUG-11845
Change-Id: If6dc68a564376df7dd26a0e996c74f7ebcc29177
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2014-11-04 15:41:41 +01:00
parent b94a6a0537
commit 97e9760a9a
2 changed files with 29 additions and 13 deletions

View File

@@ -33,7 +33,7 @@
#include <vcsbase/vcsbaseeditor.h>
#include <QRegExp>
#include <QRegularExpression>
namespace Subversion {
namespace Internal {
@@ -51,8 +51,8 @@ private:
VcsBase::BaseAnnotationHighlighter *createAnnotationHighlighter(const QSet<QString> &changes) const;
QStringList annotationPreviousVersions(const QString &) const;
mutable QRegExp m_changeNumberPattern;
mutable QRegExp m_revisionNumberPattern;
QRegularExpression m_changeNumberPattern;
QRegularExpression m_revisionNumberPattern;
};
} // namespace Internal