Page MenuHomePhabricator

Differential - fix bug writing affected paths
ClosedPublic

Authored by btrahan on Apr 11 2014, 12:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 12:01 AM
Unknown Object (File)
Sat, Apr 20, 6:46 PM
Unknown Object (File)
Tue, Apr 9, 9:34 PM
Unknown Object (File)
Mar 28 2024, 12:51 PM
Unknown Object (File)
Mar 28 2024, 12:51 PM
Unknown Object (File)
Mar 28 2024, 12:51 PM
Unknown Object (File)
Mar 28 2024, 12:51 PM
Unknown Object (File)
Mar 28 2024, 12:51 PM
Tokens
"Piece of Eight" token, awarded by bitglue.

Details

Summary

Fixes T4774. With the new code and configuration instructions downplaying the role of arcanist project we weren't writing affected paths at all! I had this issue on my installation - no affected paths were written. We seem to always have the repository now though if we can see it, so not too bad of a fix.

Test Plan

updated a diff and was able to browse in diffusion.

Diff Detail

Repository
rP Phabricator
Branch
T4774
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

btrahan retitled this revision from to Differential - fix bug writing affected paths.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

Nice, thanks for hunting this down!

This revision is now accepted and ready to land.Apr 11 2014, 11:20 AM
bitglue added a reviewer: bitglue.
bitglue added a subscriber: bitglue.

This breaks arc diff for me. I think I can attach a log to T4774...

This revision now requires changes to proceed.Apr 11 2014, 5:11 PM
btrahan edited edge metadata.

Fix bug - in applyFinalEffects (re-)attach the repository to guarantee we always have it. Sometimes the $revision ($object) in question has just been created or otherwise comes via a code path where the repository was improperly attached

bitglue edited edge metadata.

Fixes the problem and doesn't break things for me now. Maybe you want an actual developer like @epriestley to review it also -- I really have no idea why what you changed makes a difference.

This revision is now accepted and ready to land.Apr 11 2014, 6:33 PM
btrahan updated this revision to Diff 20778.

Closed by commit rPcb675a46a24d (authored by @btrahan).