Page MenuHomePhabricator

Clean up a ConduitException around Diffusion merges
ClosedPublic

Authored by epriestley on Feb 3 2015, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 2:19 AM
Unknown Object (File)
Sat, Feb 8, 2:18 AM
Unknown Object (File)
Sat, Feb 8, 2:18 AM
Unknown Object (File)
Sat, Feb 8, 2:18 AM
Unknown Object (File)
Wed, Feb 5, 4:02 AM
Unknown Object (File)
Mon, Jan 27, 11:06 PM
Unknown Object (File)
Sat, Jan 25, 7:24 AM
Unknown Object (File)
Sat, Jan 25, 6:48 AM
Subscribers

Details

Summary

Ref T7123. Two general issues:

For proxied repositories, we currently throw a ConduitClientException, vs ConduitException for local repositories. This is inconsistent and we should fix it, but I also want to examine the use of try-the-call-and-throw at these sites since it may be something we can update. In particular, trying a call that we know will always fail is now more expensive (in proxied repositories) than it used to be.

Here, we try-and-throw for merges, but they're never supported in Subversion. Just don't bother trying.

Test Plan

Browsed a SVN repository with proxying set up, got a clean commit page.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Clean up a ConduitException around Diffusion merges.
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.Feb 3 2015, 5:51 PM
This revision was automatically updated to reflect the committed changes.