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
F17720269: D14971.id36170.diff
Fri, Jul 18, 5:45 AM
F17713166: D14971.id36165.diff
Thu, Jul 17, 12:40 PM
Unknown Object (File)
Jun 16 2025, 11:05 AM
Unknown Object (File)
Jun 15 2025, 9:01 PM
Unknown Object (File)
May 10 2025, 7:26 AM
Unknown Object (File)
May 10 2025, 7:08 AM
Unknown Object (File)
May 5 2025, 11:54 AM
Unknown Object (File)
Apr 26 2025, 1:03 AM
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
Branch
clonerr
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9993
Build 12079: Run Core Tests
Build 12078: arc lint + arc unit

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.