]> khamidou — GitHub mirrors - arcanist.git/commit
Minor modernizations to `arc browse`
authorepriestley <git@epriestley.com>
Sun, 9 Feb 2014 20:19:57 +0000 (12:19 -0800)
committerepriestley <git@epriestley.com>
Sun, 9 Feb 2014 20:19:57 +0000 (12:19 -0800)
commit13fd0a5ef1c47b45a6e3957db847f341e4d96037
treeca049cc6f33fa3924f2e60d6d647416bd70b5372
parent52d3cd1b4ef7d090193c85c04371c782b9fef70d
Minor modernizations to `arc browse`

Summary:
Do a little cleanup:

  - Remove copyright header (we removed all of these a long time ago, this one just snuck through somehow).
  - Remove `@group` comment (obsolete with new Diviner).
  - Note support for all VCSes.
  - Add pht() for translation.
  - Hint `arc browse .`.
  - Fail on no paths sooner.
  - Raise a useful error if we can't figure out which repository we're heading to.
  - Clarify "open" comment.
  - Use `Filesystem::binaryExists()`.
  - Some minor wordsmithing.

Test Plan: `arc browse`, `arc browse .`, `arc browse README`, `arc browse README src`, ran `arc browse` in valid working copy with no associated repo.

Reviewers: btrahan, spicyj

Reviewed By: spicyj

CC: aran
Differential Revision: https://secure.phabricator.com/D8176
src/workflow/ArcanistBrowseWorkflow.php