Page MenuHomePhabricator

Format "arc land" passthru commands more nicely, and execute them from CWD
ClosedPublic

Authored by epriestley on Jun 7 2020, 8:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:19 PM
Unknown Object (File)
Fri, Apr 5, 4:53 PM
Unknown Object (File)
Thu, Apr 4, 4:02 AM
Unknown Object (File)
Thu, Mar 28, 10:53 AM
Unknown Object (File)
Mar 24 2024, 8:34 PM
Unknown Object (File)
Mar 4 2024, 5:56 PM
Unknown Object (File)
Jan 11 2024, 11:57 AM
Unknown Object (File)
Jan 11 2024, 12:39 AM
Subscribers
None

Details

Summary

Fixes T13380. Ref T13546. Use slightly nicer command formatting for passthru commands, to make it more obvious what's going on and which pieces of output are from "arc" vs various subcommands.

Also, execute repository API passthru commands from the working copy root. All other commands already did this, the older API just didn't support it.

Test Plan

Ran "arc land" in Git and Mercurial repositories, saw nicer output formatting.

Diff Detail

Repository
rARC Arcanist
Branch
land23
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/land/engine/ArcanistMercurialLandEngine.php:370XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 24582
Build 33890: Run Core Tests
Build 33889: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2020, 11:26 PM
This revision was automatically updated to reflect the committed changes.