@@ -673,7 +673,14 @@ protected function performMerge($source_url, $wc_path, array $revisions)
673673 $ revision_log = $ this ->getRevisionLog ($ source_url );
674674 $ revisions_data = $ revision_log ->getRevisionsData ('summary ' , $ revisions );
675675
676- $ revision_title_mask = $ revision_log ->getRevisionURLBuilder ()->getMask ('fg=white;options=bold,underscore ' );
676+ if ( strpos ($ this ->accentStyle , 'options ' ) !== false ) {
677+ $ title_accent_style = $ this ->accentStyle . ',underscore ' ;
678+ }
679+ else {
680+ $ title_accent_style = $ this ->accentStyle . ';options=underscore ' ;
681+ }
682+
683+ $ revision_title_mask = $ revision_log ->getRevisionURLBuilder ()->getMask ($ title_accent_style );
677684
678685 // Added " revision" text, when URL wasn't detected.
679686 if ( strpos ($ revision_title_mask , ':// ' ) === false ) {
@@ -689,7 +696,7 @@ protected function performMerge($source_url, $wc_path, array $revisions)
689696 $ progress_bar = $ this ->createMergeProgressBar ($ used_revision_count + $ index + 1 , $ revision_count );
690697
691698 // 1. Add revision link with a progress bar.
692- $ merge_heading = PHP_EOL . '<fg=white;options=bold > ' ;
699+ $ merge_heading = PHP_EOL . '< ' . $ this -> accentStyle . ' > ' ;
693700 $ merge_heading .= '--- $1 ' . \str_replace ('{revision} ' , $ revision , $ revision_title_mask );
694701 $ merge_heading .= " into '$2' " . $ progress_bar . ':</> ' ;
695702
@@ -698,7 +705,7 @@ protected function performMerge($source_url, $wc_path, array $revisions)
698705 $ commit_message = wordwrap ($ commit_message , 68 ); // FIXME: Not UTF-8 safe solution.
699706 $ merge_heading .= PHP_EOL . $ commit_message ;
700707 $ merge_heading .= PHP_EOL ;
701- $ merge_heading .= PHP_EOL . '<fg=white;options=bold >Changed Paths:</> ' ;
708+ $ merge_heading .= PHP_EOL . '< ' . $ this -> accentStyle . ' >Changed Paths:</> ' ;
702709
703710 $ command ->runLive (array (
704711 $ wc_path => '. ' ,
0 commit comments