forked from qt-creator/qt-creator
Fix revno detection in bzr log
Avoid false-positives when looking for changes under cursor in log view. Change-Id: Ic0f9c105747ee2c1792b372f9cb3757017633861 Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
This commit is contained in:
committed by
Hugues Delorme
parent
1e7a0d3f65
commit
acd49da492
@@ -41,8 +41,13 @@ const char BAZAARREPO[] = ".bzr";
|
||||
const char BAZAARDEFAULT[] = "bzr";
|
||||
|
||||
// Changeset identifiers
|
||||
const char CHANGESET_ID[] = "([0-9]+)"; // match and capture
|
||||
const char CHANGESET_ID_EXACT[] = "[0-9]+"; // match
|
||||
const char CHANGESET_ID[] = "^("
|
||||
"revno: [.0-9]+" // detailed
|
||||
"| +[.0-9]+" // short
|
||||
"|[.0-9]+: " // line
|
||||
")";
|
||||
const char CHANGESET_ID_EXACT[] = "([.0-9]+)";
|
||||
const char ANNOTATE_CHANGESET_ID[] = "([.0-9]+)";
|
||||
|
||||
// Base editor parameters
|
||||
const char COMMANDLOG_ID[] = "Bazaar Command Log Editor";
|
||||
|
||||
Reference in New Issue
Block a user