Page MenuHomePhabricator

Improve error message if local Git working copy directory exists but isn't a working copy
ClosedPublic

Authored by epriestley on Jan 8 2016, 3:25 PM.
Tags
None
Referenced Files
F19230212: D14971.diff
Sun, Dec 21, 1:21 PM
F18955234: D14971.diff
Nov 12 2025, 8:42 PM
F18690757: D14971.id.diff
Sep 26 2025, 8:09 PM
F18677476: D14971.diff
Sep 25 2025, 9:07 PM
F18629195: D14971.diff
Sep 16 2025, 8:12 AM
F18338089: D14971.id.diff
Aug 25 2025, 7:39 PM
F18324879: D14971.diff
Aug 24 2025, 7:57 PM
F17926690: D14971.id36170.diff
Jul 30 2025, 1:32 PM
Subscribers
None

Details

Summary

Fixes T9701. I don't want to try to autofix this because destroying the directory could destroy important files, but we can improve the error message.

Test Plan

Faked a failure, ran repository update X, got a more tailored error message.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve error message if local Git working copy directory exists but isn't a working copy.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jan 8 2016, 4:41 PM
This revision was automatically updated to reflect the committed changes.