Page MenuHomePhabricator

Make Herald less ambitious about resolving repositories for revisions
ClosedPublic

Authored by epriestley on Mar 20 2014, 12:19 PM.
Tags
None
Referenced Files
F14065355: D8576.id20352.diff
Tue, Nov 19, 4:19 AM
F14064973: D8576.diff
Tue, Nov 19, 2:27 AM
F14063175: D8576.id20370.diff
Mon, Nov 18, 4:58 PM
F14062783: D8576.id.diff
Mon, Nov 18, 2:29 PM
F14062185: D8576.diff
Mon, Nov 18, 10:59 AM
F14061853: D8576.diff
Mon, Nov 18, 8:50 AM
F14052937: D8576.diff
Fri, Nov 15, 11:36 AM
F14039788: D8576.diff
Mon, Nov 11, 6:20 AM
Subscribers

Details

Summary

Fixes T4636. If a user manually deletes a "repository" setting from a revision, Herald attempts to resolve it. Instead, Herald should now just trust Differential. Generally, the new logic is:

  • When diffs are created, figure out repository information.
  • When revisions are updated, copy info from diffs.
  • Everywhere else, just trust the revision field.
Test Plan
  • Created revisions.
  • Used Herald to dry-run revisions before and after a manual edit to remove the repository setting.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Make Herald less ambitious about resolving repositories for revisions.
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.Mar 20 2014, 8:16 PM
epriestley updated this revision to Diff 20370.

Closed by commit rP03c6bf0d0916 (authored by @epriestley).