From 3401b2a5d227e0c48a6389adbb9b2ae9b99ba490 Mon Sep 17 00:00:00 2001 From: Martin Kralik Date: Fri, 3 May 2013 16:12:16 -0700 Subject: [PATCH] Added missing space between words in messages. Summary: During my attept to `arc land master` on `master` branch I have discovered that error message is missing few spaces between words. I have added them and used this ugly readonly command: pcregrep --include="\.php$" -M -r '(?setBaseCommitExplanation( "it is the greatest common ancestor of '{$matches[1]}' and ., as". - "specified by '{$rule}' in your {$source} 'base' ". + " specified by '{$rule}' in your {$source} 'base' ". "configuration."); return trim($merge_base); } diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php index aa55e062..65f798e2 100644 --- a/src/workflow/ArcanistLandWorkflow.php +++ b/src/workflow/ArcanistLandWorkflow.php @@ -123,7 +123,7 @@ EOTEXT 'update-with-rebase' => array( 'help' => 'When updating the feature branch, use rebase instead of '. 'merge. This might make things work better in some cases.'. - 'Set arc.land.update.default to \'rebase\' to make this '. + ' Set arc.land.update.default to \'rebase\' to make this '. 'default.', 'conflicts' => array( 'merge' => 'The --merge strategy does not update the feature branch.', @@ -292,9 +292,9 @@ EOTEXT if ($this->onto == $this->branch) { $message = - "You can not land a {$this->branchType} onto itself -- you are trying". - "to land '{$this->branch}' onto '{$this->onto}'. For more". - "information on how to push changes, see 'Pushing and Closing". + "You can not land a {$this->branchType} onto itself -- you are trying ". + "to land '{$this->branch}' onto '{$this->onto}'. For more ". + "information on how to push changes, see 'Pushing and Closing ". "Revisions' in 'Arcanist User Guide: arc diff' in the documentation."; if (!$this->isHistoryImmutable()) { $message .= " You may be able to 'arc amend' instead."; -- 2.43.0