Page MenuHomePhabricator

Fix abrupt failure mode for uncloned repositories in Diffusion
ClosedPublic

Authored by epriestley on Sep 3 2015, 10:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 3:33 PM
Unknown Object (File)
Thu, Apr 11, 7:25 AM
Unknown Object (File)
Wed, Apr 3, 10:32 AM
Unknown Object (File)
Wed, Apr 3, 10:32 AM
Unknown Object (File)
Wed, Apr 3, 10:32 AM
Unknown Object (File)
Tue, Mar 26, 3:44 AM
Unknown Object (File)
Sun, Mar 24, 8:48 AM
Unknown Object (File)
Mar 14 2024, 4:49 AM
Subscribers
None

Details

Summary

Fixes T9080. We try to list alternatives for the current ref (for example, if you're viewing a branch named "master" but there's also a tag named "master", or, in Mercurial, there are several branches named "master") but fail to abruptly if we can't get the list.

It's fine if we can't get the list; just continue. This is common when the repository hasn't cloned yet.

Test Plan

In a local repository with bad credentials, tried to do anything before and after. Before: completely blocked by error; after: things work normally.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix abrupt failure mode for uncloned repositories in Difufsion.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad retitled this revision from Fix abrupt failure mode for uncloned repositories in Difufsion to Fix abrupt failure mode for uncloned repositories in Diffusion.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 3 2015, 3:20 PM
This revision was automatically updated to reflect the committed changes.