forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user