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
F15403794: D14971.id36170.diff
Tue, Mar 18, 4:51 AM
F15403369: D14971.id36165.diff
Tue, Mar 18, 3:02 AM
Unknown Object (File)
Feb 9 2025, 12:22 AM
Unknown Object (File)
Feb 9 2025, 12:22 AM
Unknown Object (File)
Feb 9 2025, 12:22 AM
Unknown Object (File)
Feb 9 2025, 12:22 AM
Unknown Object (File)
Jan 28 2025, 5:11 AM
Unknown Object (File)
Jan 27 2025, 6:39 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.