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
F15500146: D21330.id50794.diff
Sun, Apr 13, 4:17 PM
F15497665: D21330.id50760.diff
Sun, Apr 13, 10:55 AM
F15497664: D21330.id50794.diff
Sun, Apr 13, 10:55 AM
F15497662: D21330.id.diff
Sun, Apr 13, 10:55 AM
F15497601: D21330.diff
Sun, Apr 13, 10:47 AM
F15442197: D21330.id50760.diff
Wed, Mar 26, 10:08 PM
F15434497: D21330.id50794.diff
Mar 25 2025, 4:07 AM
F15433880: D21330.diff
Mar 25 2025, 1:01 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.