Skip to content

Commit f29700d

Browse files
committed
Merge tag 'v1.5.7'
Conflicts: Source/MantisSourceBase.class.php SourceHgWeb/SourceHgWeb.php docs/CHANGELOG.md
2 parents 2e77b73 + 507fe64 commit f29700d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

SourceHgWeb/SourceHgWeb.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class SourceHgWebPlugin extends MantisSourcePlugin {
2121

22-
const PLUGIN_VERSION = '2.1.2';
22+
const PLUGIN_VERSION = '2.1.3';
2323
const FRAMEWORK_VERSION_REQUIRED = '2.0.0';
2424

2525
/**
@@ -264,11 +264,11 @@ private function commit_changeset( $p_repo, $p_input, $p_branch='' ) {
264264
$t_parents = array();
265265
static $s_pattern_metadata;
266266
if( !$s_pattern_metadata ) {
267-
$s_pattern_metadata = '/^# (?:'
267+
$s_pattern_metadata = '/^# (?J)(?:'
268268
. self::PATTERN_USER . '|'
269269
. self::PATTERN_DATE . '|'
270270
. self::PATTERN_REVISION
271-
. ')/J';
271+
. ')/';
272272
}
273273
while( true ) {
274274
$t_match = preg_match( $s_pattern_metadata, $t_input[$i], $t_metadata );

docs/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ Includes all changes and fixes from 1.5.0.
145145

146146
# Releases for MantisBT 1.3
147147

148+
## [1.5.7] - 2018-07-30
149+
150+
### Fixed
151+
152+
- HgWeb: fix unsupported PCRE /J modifier on PHP < 7.2
153+
[#275](https://github.com/mantisbt-plugins/source-integration/pull/275)
154+
148155
## [1.5.6] - 2018-06-13
149156

150157
### Fixed
@@ -346,7 +353,7 @@ Includes all changes and fixes from master-1.2.x branch, up to commit
346353

347354

348355
[Unreleased 2.x]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.2...HEAD
349-
[Unreleased 1.x]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.6...master-1.3.x
356+
[Unreleased 1.x]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.7...master-1.3.x
350357

351358
[2.1.2]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.1...v2.1.2
352359
[2.1.1]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.0...v2.1.1
@@ -358,6 +365,7 @@ Includes all changes and fixes from master-1.2.x branch, up to commit
358365
[2.0.0-beta.2]: https://github.com/mantisbt-plugins/source-integration/compare/v2.0.0-beta.1...v2.0.0-beta.2
359366
[2.0.0-beta.1]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.2...v2.0.0-beta.1
360367

368+
[1.5.7]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.6...v1.5.7
361369
[1.5.6]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.5...v1.5.6
362370
[1.5.5]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.4...v1.5.5
363371
[1.5.4]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.3...v1.5.4

0 commit comments

Comments
 (0)