Page MenuHomePhabricator

Fix `arc diff --raw` when run outside a repository
ClosedPublic

Authored by epriestley on May 15 2014, 8:46 PM.
Tags
None
Referenced Files
F19416250: D9142.id.diff
Dec 27 2025, 9:12 PM
F19356109: D9142.diff
Dec 26 2025, 6:58 AM
F19321269: D9142.id21711.diff
Dec 25 2025, 9:54 AM
F18905353: D9142.id21711.diff
Nov 8 2025, 1:55 PM
F18866280: D9142.id21711.diff
Nov 3 2025, 4:24 PM
F18804223: D9142.id21721.diff
Oct 18 2025, 6:55 AM
F18783971: D9142.id21711.diff
Oct 13 2025, 11:13 AM
F18745255: D9142.id.diff
Oct 3 2025, 5:54 AM
Subscribers

Details

Summary

Fixes T5071. If you run arc diff --raw from some arbitrary, non-repository directory we incorrectly try to read information out of the working copy. Even if this information is available, arc diff --raw should not assume it's accurate (there's no guarantee the diff comes from the working copy).

Test Plan

Ran arc diff --raw in an arbitrary directory.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Fix `arc diff --raw` when run outside a repository.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 16 2014, 2:02 AM
epriestley updated this revision to Diff 21721.

Closed by commit rARC75cb3cf35819 (authored by @epriestley).