Page MenuHomePhabricator

Improve some messaging in `arc which` for autodetection of repositories
ClosedPublic

Authored by epriestley on Jan 28 2014, 2:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Aug 23 2026, 2:34 PM
Unknown Object (File)
Aug 23 2026, 2:45 AM
Unknown Object (File)
Aug 17 2026, 7:40 PM
Unknown Object (File)
Aug 15 2026, 3:59 PM
Unknown Object (File)
Aug 14 2026, 11:03 AM
Unknown Object (File)
Aug 13 2026, 10:36 PM
Unknown Object (File)
Aug 13 2026, 10:36 PM
Unknown Object (File)
Mar 11 2026, 6:05 AM
Subscribers

Details

Summary
  • The modern name for the config is "project.name".
  • Missing parameter in a pht().
  • When the value is set, but not valid, we gave you a misleading error message.
Test Plan

Ran arc which.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/workflow/ArcanistBaseWorkflow.php
1661

This slightly lies though, doesn't it? getProjectID() falls back to fetching project_id

src/workflow/ArcanistBaseWorkflow.php
1661

"project_id" is a deprecated spelling of "project.name"; "project.id" (. vs _) was never correct, I just neglected to fix it after renaming project.id -> project.name mid-patch.